diff options
author | andre <andre@FreeBSD.org> | 2004-09-15 20:13:26 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2004-09-15 20:13:26 +0000 |
commit | 5b67b5c1f38fdb1ca745e61e704050eb2767e3be (patch) | |
tree | 8aac23c439beefe50c1b1751c071c1ddee07eb91 /sys/netinet/ip_var.h | |
parent | 375f58b8c16491ec099f2f95a521bc7aebdb0279 (diff) | |
download | FreeBSD-src-5b67b5c1f38fdb1ca745e61e704050eb2767e3be.zip FreeBSD-src-5b67b5c1f38fdb1ca745e61e704050eb2767e3be.tar.gz |
Remove the last two global variables that are used to store packet state while
it travels through the IP stack. This wasn't much of a problem because IP
source routing is disabled by default but when enabled together with SMP and
preemption it would have very likely cross-corrupted the IP options in transit.
The IP source route options of a packet are now stored in a mtag instead of the
global variable.
Diffstat (limited to 'sys/netinet/ip_var.h')
-rw-r--r-- | sys/netinet/ip_var.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet/ip_var.h b/sys/netinet/ip_var.h index 46bd596..2fa80d3 100644 --- a/sys/netinet/ip_var.h +++ b/sys/netinet/ip_var.h @@ -176,7 +176,7 @@ void ip_savecontrol(struct inpcb *, struct mbuf **, struct ip *, struct mbuf *); void ip_slowtimo(void); struct mbuf * - ip_srcroute(void); + ip_srcroute(struct mbuf *); void ip_stripoptions(struct mbuf *, struct mbuf *); u_int16_t ip_randomid(void); int rip_ctloutput(struct socket *, struct sockopt *); |