Set the DF bit for responses to out-of-the-blue packets.
MFC after: 1 week
This commit is contained in:
parent
d89baa5aac
commit
b6ecf43450
@ -11147,7 +11147,7 @@ sctp_send_resp_msg(struct sockaddr *src, struct sockaddr *dst,
|
|||||||
ip->ip_v = IPVERSION;
|
ip->ip_v = IPVERSION;
|
||||||
ip->ip_hl = (sizeof(struct ip) >> 2);
|
ip->ip_hl = (sizeof(struct ip) >> 2);
|
||||||
ip->ip_tos = 0;
|
ip->ip_tos = 0;
|
||||||
ip->ip_off = 0;
|
ip->ip_off = htons(IP_DF);
|
||||||
ip_fillid(ip);
|
ip_fillid(ip);
|
||||||
ip->ip_ttl = MODULE_GLOBAL(ip_defttl);
|
ip->ip_ttl = MODULE_GLOBAL(ip_defttl);
|
||||||
if (port) {
|
if (port) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user