]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: simplify exception handling
authorpravin shelar <pshelar@ovn.org>
Mon, 14 Nov 2016 04:43:54 +0000 (20:43 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Nov 2016 17:16:13 +0000 (12:16 -0500)
commit74d185c99ab8e8583b426e6b77c13476a603d5ca
tree5486f3fa2634a06fb8c3866ab8a247c9de499623
parent8b52501384a4b6f6804a87a10bc4754b587bba5e
vxlan: simplify exception handling

vxlan egress path error handling has became complicated, it
need to handle IPv4 and IPv6 tunnel cases.
Earlier patch removes vlan handling from vxlan_build_skb(), so
vxlan_build_skb does not need to free skb and we can simplify
the xmit path by having single error handling for both type of
tunnels.

Signed-off-by: Pravin B Shelar <pshelar@ovn.org>
Acked-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c