summaryrefslogtreecommitdiffstats
path: root/sys/netipx/ipx_var.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2009-06-21 10:10:44 +0000
committerrwatson <rwatson@FreeBSD.org>2009-06-21 10:10:44 +0000
commitb867569d3ecacd8487aadc3fd07e29e03629bcfd (patch)
treed6260852700dfb0c8b70eb98c0e64c40f37190f9 /sys/netipx/ipx_var.h
parentbfca5b766dcbba5d363d14ad19521182daf04b69 (diff)
downloadFreeBSD-src-b867569d3ecacd8487aadc3fd07e29e03629bcfd.zip
FreeBSD-src-b867569d3ecacd8487aadc3fd07e29e03629bcfd.tar.gz
Remove historical support for capturing IPX packets in the output path
using raw IPX sockets. While functional, this support is disabled using a flag that can't be changed from userspace, and google reveals no documentation or use of that flag anywhere. This eliminates a potential lock order reversal and code reentrance issue in which the output path reentered the input path in IPX. An alternative to removal would be to use the netisr, as a comment I added in 2005 suggests. While this change is fairly straight-forward, the lack of any consumers or the easy possibility of consumers (kernel modification and recompile required) suggests that this is simply an unused feature. Update README to remove this TODO, and a TODO regarding IPX/IP encapsulation which was also removed a few years ago. MFC after: 1 week
Diffstat (limited to 'sys/netipx/ipx_var.h')
-rw-r--r--sys/netipx/ipx_var.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netipx/ipx_var.h b/sys/netipx/ipx_var.h
index 1c76613..7661328 100644
--- a/sys/netipx/ipx_var.h
+++ b/sys/netipx/ipx_var.h
@@ -124,7 +124,6 @@ int ipx_output_type20(struct mbuf *);
int ipx_peeraddr(struct socket *so, struct sockaddr **nam);
void ipx_printhost(struct ipx_addr *addr);
int ipx_sockaddr(struct socket *so, struct sockaddr **nam);
-void ipx_watch_output(struct mbuf *m, struct ifnet *ifp);
#endif /* _KERNEL */
OpenPOWER on IntegriCloud