summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2012-01-02 09:18:58 +0000
committerbz <bz@FreeBSD.org>2012-01-02 09:18:58 +0000
commitd9de01105e6c2f60ef0fb2a67c0f3d915cef8c61 (patch)
treed4d2a3a5aaf4973fab64cc6badd6d08b9df8edec
parent8152f4c1927b535528fef82bc9449a9ffcfbfae5 (diff)
downloadFreeBSD-src-d9de01105e6c2f60ef0fb2a67c0f3d915cef8c61.zip
FreeBSD-src-d9de01105e6c2f60ef0fb2a67c0f3d915cef8c61.tar.gz
As I came by and noticed add a comment that inp locking is a bit optistic
(read: non-existent) here and should be fixed.
-rw-r--r--sys/netinet/raw_ip.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index dc7d965..d2b841a 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -544,6 +544,8 @@ rip_output(struct mbuf *m, struct socket *so, u_long dst)
*
* When adding new socket options here, make sure to add access control
* checks here as necessary.
+ *
+ * XXX-BZ inp locking?
*/
int
rip_ctloutput(struct socket *so, struct sockopt *sopt)
OpenPOWER on IntegriCloud