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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317558
@ -11147,7 +11147,7 @@ sctp_send_resp_msg(struct sockaddr *src, struct sockaddr *dst,
|
||||
ip->ip_v = IPVERSION;
|
||||
ip->ip_hl = (sizeof(struct ip) >> 2);
|
||||
ip->ip_tos = 0;
|
||||
ip->ip_off = 0;
|
||||
ip->ip_off = htons(IP_DF);
|
||||
ip_fillid(ip);
|
||||
ip->ip_ttl = MODULE_GLOBAL(ip_defttl);
|
||||
if (port) {
|
||||
|
Loading…
Reference in New Issue
Block a user