summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-01-08 12:53:48 +0000
committershin <shin@FreeBSD.org>2000-01-08 12:53:48 +0000
commit3b8f501c39f1b366c5a778407cb64a9ee278c32a (patch)
tree81f5e025467a9ea38e9aa1b0b3e21367dbcf8ffb
parent9d5f39c59c4f1a541f96975b24511d8cb8f1f0de (diff)
downloadFreeBSD-src-3b8f501c39f1b366c5a778407cb64a9ee278c32a.zip
FreeBSD-src-3b8f501c39f1b366c5a778407cb64a9ee278c32a.tar.gz
prevent kernel panic which happens when either of IPSEC and IPDIVERT
is enabled. Confirmed by: Eugene M. Kim <ab@astralblue.com>
-rw-r--r--sys/netinet/ip_divert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_divert.c b/sys/netinet/ip_divert.c
index 5c2cd76..6506c8e 100644
--- a/sys/netinet/ip_divert.c
+++ b/sys/netinet/ip_divert.c
@@ -297,7 +297,7 @@ div_output(so, m, addr, control)
ipstat.ips_rawout++; /* XXX */
error = ip_output(m, inp->inp_options, &inp->inp_route,
(so->so_options & SO_DONTROUTE) |
- IP_ALLOWBROADCAST | IP_RAWOUTPUT | IP_SOCKINMRCVIF,
+ IP_ALLOWBROADCAST | IP_RAWOUTPUT,
inp->inp_moptions);
} else {
struct ifaddr *ifa;
OpenPOWER on IntegriCloud