diff options
author | Florian Westphal | 2015-12-31 14:26:33 +0100 |
---|---|---|
committer | David S. Miller | 2016-01-04 21:46:45 -0500 |
commit | 55285bf09427c5abf43ee1d54e892f352092b1f1 (patch) | |
tree | 726080a4fd362374bad2386c02585d93ac78397b /drivers/net/wan | |
parent | 3934aa4c1f7f4ccdff25f530b0e37d776ac453e2 (diff) |
connector: bump skb->users before callback invocation
Dmitry reports memleak with syskaller program.
Problem is that connector bumps skb usecount but might not invoke callback.
So move skb_get to where we invoke the callback.
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wan')
0 files changed, 0 insertions, 0 deletions