diff options
author | Florian Westphal <fw@strlen.de> | 2015-12-31 14:26:33 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-28 21:57:11 -0800 |
commit | 408566c5dc2406ebcc4be2d8459b31be638d4f54 (patch) | |
tree | 6314c016502960fed886f6a17d55eaa5bddb5248 /include/linux/sched.h | |
parent | 141dd0e9a9b2ab7a76ca9b4ee519897a5d6172c4 (diff) |
connector: bump skb->users before callback invocation
[ Upstream commit 55285bf09427c5abf43ee1d54e892f352092b1f1 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions