diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2019-06-11 22:07:39 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2019-06-11 22:07:39 +0000 |
| commit | 77a0144145d8913221a2c71d9060a08665491539 (patch) | |
| tree | 405d08eec8491c877cdf46faacb9e6783e278c0f /sys/netinet | |
| parent | dbdfb1fd19ba148208c98b6d7137e5c41a8960dc (diff) | |
Notes
Diffstat (limited to 'sys/netinet')
| -rw-r--r-- | sys/netinet/ip_output.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index b48350fd5c7a8..99b8c3662be50 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -35,13 +35,13 @@ __FBSDID("$FreeBSD$"); #include "opt_inet.h" -#include "opt_ratelimit.h" #include "opt_ipsec.h" #include "opt_mbuf_stress_test.h" #include "opt_mpath.h" +#include "opt_ratelimit.h" #include "opt_route.h" -#include "opt_sctp.h" #include "opt_rss.h" +#include "opt_sctp.h" #include <sys/param.h> #include <sys/systm.h> @@ -283,6 +283,7 @@ ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro, int flags, #if defined(IPSEC) || defined(IPSEC_SUPPORT) int no_route_but_check_spd = 0; #endif + M_ASSERTPKTHDR(m); if (inp != NULL) { |
