diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-01-23 16:31:25 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-01-23 16:31:25 +0000 |
commit | a50ee21d011166d65ba0a2a5eec828ec66277009 (patch) | |
tree | a65235da7e71513e9474900fe8e1503a0d2d775e /sys/netinet6 | |
parent | 06a79ef18b5c5db2e96d5ef1cf36e2e7402125d4 (diff) |
The function raw_input() has not been called since netiso has been
removed in 2004. The comment about raw_input() above rip_input()
was added in 1981, but it is wrong since 1992. After that it has
been copied to rip6_input(). (*pr_input)() is never called with
the parameters (mbuf, sockproto, sockaddr, sockaddr).
So retire raw_input().
OK guenther@ deraadt@
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/raw_ip6.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/netinet6/raw_ip6.c b/sys/netinet6/raw_ip6.c index 0bf46188860..9b217f42aa1 100644 --- a/sys/netinet6/raw_ip6.c +++ b/sys/netinet6/raw_ip6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: raw_ip6.c,v 1.102 2017/01/10 09:01:18 mpi Exp $ */ +/* $OpenBSD: raw_ip6.c,v 1.103 2017/01/23 16:31:24 bluhm Exp $ */ /* $KAME: raw_ip6.c,v 1.69 2001/03/04 15:55:44 itojun Exp $ */ /* @@ -115,11 +115,6 @@ rip6_init(void) in_pcbinit(&rawin6pcbtable, 1); } -/* - * Setup generic address and protocol structures - * for raw_input routine, then pass them along with - * mbuf chain. - */ int rip6_input(struct mbuf **mp, int *offp, int proto) { |