Date: Fri, 28 Apr 2017 15:38:34 +0000 (UTC) From: Michael Tuexen <tuexen@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r317558 - head/sys/netinet Message-ID: <201704281538.v3SFcY6v020594@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tuexen Date: Fri Apr 28 15:38:34 2017 New Revision: 317558 URL: https://svnweb.freebsd.org/changeset/base/317558 Log: Set the DF bit for responses to out-of-the-blue packets. MFC after: 1 week Modified: head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_output.c ============================================================================== --- head/sys/netinet/sctp_output.c Fri Apr 28 15:15:26 2017 (r317557) +++ head/sys/netinet/sctp_output.c Fri Apr 28 15:38:34 2017 (r317558) @@ -11147,7 +11147,7 @@ sctp_send_resp_msg(struct sockaddr *src, 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) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704281538.v3SFcY6v020594>