aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_ulp.c
diff options
context:
space:
mode:
authorAndreas Pape <[email protected]>2017-05-19 08:01:42 +0000
committerSimon Wunderlich <[email protected]>2017-05-19 10:20:28 +0000
commita1a745ef980a1b48299ead4ea7990e62c0516f6e (patch)
tree2be4b87236d4a54c721e96ec1a226d4852f88b15 /net/ipv4/tcp_ulp.c
parentbatman-adv: Fix rx packet/bytes stats on local ARP reply (diff)
downloadkernel-a1a745ef980a1b48299ead4ea7990e62c0516f6e.tar.gz
kernel-a1a745ef980a1b48299ead4ea7990e62c0516f6e.zip
batman-adv: fix memory leak when dropping packet from other gateway
The skb must be released in the receive handler since b91a2543b4c1 ("batman-adv: Consume skb in receive handlers"). Just returning NET_RX_DROP will no longer automatically free the memory. This results in memory leaks when unicast packets from other backbones must be dropped because they share a common backbone. Fixes: 9e794b6bf4a2 ("batman-adv: drop unicast packets from other backbone gw") Signed-off-by: Andreas Pape <[email protected]> [[email protected]: adjust commit message] Signed-off-by: Sven Eckelmann <[email protected]> Signed-off-by: Simon Wunderlich <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_ulp.c')
0 files changed, 0 insertions, 0 deletions