diff options
author | ume <ume@FreeBSD.org> | 2003-10-29 12:52:28 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-10-29 12:52:28 +0000 |
commit | 36edae8e0d6caa4c38b5624886e0b8a21fc77870 (patch) | |
tree | 625e8695c0868711307e6da1669ffa5509bdbfcf /sys/netinet6/ip6_input.c | |
parent | bde54b9152c6e052b2d02175676d7eeac29baa99 (diff) | |
download | FreeBSD-src-36edae8e0d6caa4c38b5624886e0b8a21fc77870.zip FreeBSD-src-36edae8e0d6caa4c38b5624886e0b8a21fc77870.tar.gz |
ip6_savecontrol() argument is redundant
Diffstat (limited to 'sys/netinet6/ip6_input.c')
-rw-r--r-- | sys/netinet6/ip6_input.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/netinet6/ip6_input.c b/sys/netinet6/ip6_input.c index 10b9823..adc9e87 100644 --- a/sys/netinet6/ip6_input.c +++ b/sys/netinet6/ip6_input.c @@ -1055,15 +1055,14 @@ ip6_unknown_opt(optp, m, off) * very first mbuf on the mbuf chain. */ void -ip6_savecontrol(in6p, mp, ip6, m) +ip6_savecontrol(in6p, m, mp) struct inpcb *in6p; - struct mbuf **mp; - struct ip6_hdr *ip6; - struct mbuf *m; + struct mbuf *m, **mp; { #define IS2292(x, y) ((in6p->in6p_flags & IN6P_RFC2292) ? (x) : (y)) struct thread *td = curthread; /* XXX */ int privileged = 0; + struct ip6_hdr *ip6 = mtod(m, struct ip6_hdr *); if (td && !suser(td)) privileged++; |