aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet/ip_options.c
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2008-01-24 08:25:59 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2008-01-24 08:25:59 +0000
commit79ba395267239ab5dc7832334eff9bd0124d5464 (patch)
tree54dfe6089b6177f2bd726f05233e0c1a76433c3e /sys/netinet/ip_options.c
parent107d12440af1fedcfbda96e41667f439d88fac9a (diff)
Notes
Diffstat (limited to 'sys/netinet/ip_options.c')
-rw-r--r--sys/netinet/ip_options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ip_options.c b/sys/netinet/ip_options.c
index f190df1f5f7e..6eeec01748fc 100644
--- a/sys/netinet/ip_options.c
+++ b/sys/netinet/ip_options.c
@@ -651,6 +651,7 @@ ip_pcbopts(struct inpcb *inp, int optname, struct mbuf *m)
* in actual IP option, but is stored before the
* options.
*/
+ /* XXX-BZ PRIV_NETINET_SETHDROPTS? */
if (optlen < IPOPT_MINOFF - 1 + sizeof(struct in_addr))
goto bad;
m->m_len -= sizeof(struct in_addr);