diff options
| author | Kevin Lo <kevlo@FreeBSD.org> | 2014-09-30 07:28:31 +0000 |
|---|---|---|
| committer | Kevin Lo <kevlo@FreeBSD.org> | 2014-09-30 07:28:31 +0000 |
| commit | 0bc40ebf0060d0644fb1f421d34c89d6a21a2ec0 (patch) | |
| tree | a315aa5a64eb921884cc679b98d597de21ab7beb /sys/netinet6/udp6_usrreq.c | |
| parent | 1b65908ea7a8111bdcd0457fc8af93c44a3c1d9b (diff) | |
Notes
Diffstat (limited to 'sys/netinet6/udp6_usrreq.c')
| -rw-r--r-- | sys/netinet6/udp6_usrreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/udp6_usrreq.c b/sys/netinet6/udp6_usrreq.c index 14feb739fd2b0..d90d1971c7a76 100644 --- a/sys/netinet6/udp6_usrreq.c +++ b/sys/netinet6/udp6_usrreq.c @@ -232,7 +232,7 @@ udp6_input(struct mbuf **mp, int *offp, int proto) ulen = plen; cscov_partial = 0; } - if (plen != ulen) { + if (nxt == IPPROTO_UDP && plen != ulen) { UDPSTAT_INC(udps_badlen); goto badunlocked; } |
