]> git.baikalelectronics.ru Git - kernel.git/commit
vxlan: Update tx_errors statistics if vxlan_build_skb return err.
authorHaishuang Yan <yanhaishuang@cmss.chinamobile.com>
Sun, 4 Sep 2016 10:52:51 +0000 (18:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Sep 2016 20:41:42 +0000 (13:41 -0700)
commit5770ebf1236ba94249cad3543b0e887905d81688
tree2d37015de6b0fa1d13f4f50b53277959a58204e8
parent847015737e75954676fd859e1e7541520343a7dd
vxlan: Update tx_errors statistics if vxlan_build_skb return err.

If vxlan_build_skb return err < 0, tx_errors should be also increased.

Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>
Acked-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan.c