net: bridge: don't increment tx_dropped in br_do_proxy_arp
authorNikolay Aleksandrov <nikolay@cumulusnetworks.com>
Tue, 30 Aug 2016 15:44:29 +0000 (17:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Sep 2016 23:35:30 +0000 (16:35 -0700)
commit85a3d4a9356b595d5440c3f1bf07ee7cecca1567
tree9138e94f7bd27a7affbb03ed8a1d9e011a2a599d
parent29c994e361009142ec0bca6493cc8f7b0d3c561a
net: bridge: don't increment tx_dropped in br_do_proxy_arp

pskb_may_pull may fail due to various reasons (e.g. alloc failure), but the
skb isn't changed/dropped and processing continues so we shouldn't
increment tx_dropped.

CC: Kyeyoon Park <kyeyoonp@codeaurora.org>
CC: Roopa Prabhu <roopa@cumulusnetworks.com>
CC: Stephen Hemminger <stephen@networkplumber.org>
CC: bridge@lists.linux-foundation.org
Fixes: 958501163ddd ("bridge: Add support for IEEE 802.11 Proxy ARP")
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_input.c