]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tnl-ipv4-ipv6'
authorDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2015 20:07:55 +0000 (13:07 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Aug 2015 20:07:55 +0000 (13:07 -0700)
commitf5f9ed6831ed8c109e49d4131ebf911751679389
tree388c9e94c26bdd40875562a58b84a54213ca7ac7
parentb8546725f0921c4e590afa425e09c7b962bf5911
parent56de46eab159c799a027de552eb078df964cc47a
Merge branch 'tnl-ipv4-ipv6'

Jiri Benc says:

====================
tunnels: fix incorrect IPv4/v6 headers interpretation

With tunneling, it is currently possible to get an IPv6 header and interpret
it as an IPv4 header, or to interpret an IPv6 address as an IPv4 address
(and vice versa). This leads to things like sending packets to incorrect
address, IPv6 flow label being interpreted as IP packet length, etc.

Fix several places where this can happen.

Most of this is net-next only. The third patch affects net, too, but it
doesn't seem there's anything in user space that sets the attribute at all
currently, thus net-next is fine.

Changelog:
v2: fixed geneve after incorrect rebase on top of Pravin's patches
====================

Signed-off-by: David S. Miller <davem@davemloft.net>