ipv6/exthdrs: accept tlv which includes only padding
authorJiri Pirko <jiri@resnulli.us>
Fri, 6 Sep 2013 14:02:25 +0000 (16:02 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Sep 2013 19:52:27 +0000 (15:52 -0400)
commit8112b1fe071be01a28a774ed55909e6f4b29712d
tree8896aabac632d13494ec3d3d13d4eddf6599c892
parent996dedbafe640aee40dc846ad634dd352b6bcd44
ipv6/exthdrs: accept tlv which includes only padding

In rfc4942 and rfc2460 I cannot find anything which would implicate to
drop packets which have only padding in tlv.

Current behaviour breaks TAHI Test v6LC.1.2.6.

Problem was intruduced in:
9b905fe6843 "ipv6/exthdrs: strict Pad1 and PadN check"

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/exthdrs.c