Set the DF bit for responses to out-of-the-blue packets.

MFC after:	1 week
This commit is contained in:
Michael Tuexen 2017-04-28 15:38:34 +00:00
parent d89baa5aac
commit b6ecf43450
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317558

View File

@ -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) {