diff options
author | Michal Kubeček <mkubecek@suse.cz> | 2015-11-03 08:51:07 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-03 16:52:13 +0100 |
commit | ebac62fe3d24c0ce22dd83afa7b07d1a2aaef44d (patch) | |
tree | 5b5735d3f8be792cda24ce569e0ebcdddae989b0 /drivers/net/ethernet/smsc | |
parent | net: phy: fix a bug in get_phy_c45_ids (diff) | |
download | linux-ebac62fe3d24c0ce22dd83afa7b07d1a2aaef44d.tar.xz linux-ebac62fe3d24c0ce22dd83afa7b07d1a2aaef44d.zip |
ipv6: fix tunnel error handling
Both tunnel6_protocol and tunnel46_protocol share the same error
handler, tunnel6_err(), which traverses through tunnel6_handlers list.
For ipip6 tunnels, we need to traverse tunnel46_handlers as we do e.g.
in tunnel46_rcv(). Current code can generate an ICMPv6 error message
with an IPv4 packet embedded in it.
Fixes: 73d605d1abbd ("[IPSEC]: changing API of xfrm6_tunnel_register")
Signed-off-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/smsc')
0 files changed, 0 insertions, 0 deletions