]> 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)
commit154e2a5586ca466240b3cdf8e5fe0f15e4218184
tree388c9e94c26bdd40875562a58b84a54213ca7ac7
parentd480a1441907c14def8dfa5f7898f7d9a45d4b3a
parenta9e9462ca8afc5b3fba56c8413dd04e75b6da3dd
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>