svn commit: r319405 - stable/11/sys/netinet
Michael Tuexen
tuexen at FreeBSD.org
Thu Jun 1 09:14:44 UTC 2017
Author: tuexen
Date: Thu Jun 1 09:14:43 2017
New Revision: 319405
URL: https://svnweb.freebsd.org/changeset/base/319405
Log:
MFC r317558:
Set the DF bit for responses to out-of-the-blue packets.
Modified:
stable/11/sys/netinet/sctp_output.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/netinet/sctp_output.c
==============================================================================
--- stable/11/sys/netinet/sctp_output.c Thu Jun 1 09:00:38 2017 (r319404)
+++ stable/11/sys/netinet/sctp_output.c Thu Jun 1 09:14:43 2017 (r319405)
@@ -11147,7 +11147,7 @@ sctp_send_resp_msg(struct sockaddr *src, struct sockad
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) {
More information about the svn-src-stable
mailing list