Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2017 09:14:43 +0000 (UTC)
From:      Michael Tuexen <tuexen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r319405 - stable/11/sys/netinet
Message-ID:  <201706010914.v519EhYU043180@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706010914.v519EhYU043180>