]> git.karo-electronics.de Git - linux-beck.git/commit
net: lwtunnel: Handle lwtunnel_fill_encap failure
authorDavid Ahern <dsa@cumulusnetworks.com>
Wed, 11 Jan 2017 22:29:54 +0000 (14:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jan 2017 20:11:43 +0000 (15:11 -0500)
commitea7a80858f57d8878b1499ea0f1b8a635cc48de7
tree5befd248f3af2f3a74bcaa7f4a4d2117f9c6a5fe
parent18a3ed59d09cf81a6447aadf6931bf0c9ffec5e0
net: lwtunnel: Handle lwtunnel_fill_encap failure

Handle failure in lwtunnel_fill_encap adding attributes to skb.

Fixes: 571e722676fe ("ipv4: support for fib route lwtunnel encap attributes")
Fixes: 19e42e451506 ("ipv6: support for fib route lwtunnel encap attributes")
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c
net/ipv6/route.c