diff options
| author | Florian Westphal <fw@strlen.de> | 2015-12-31 14:26:33 +0100 |
|---|---|---|
| committer | Luis Henriques <luis.henriques@canonical.com> | 2016-01-28 10:14:29 +0000 |
| commit | c6ebbea289e909e6e65c5050a2bb74c64748b65d (patch) | |
| tree | 7ce5d9316294bd7d3b7781b2d39b230409c4dfcb /include | |
| parent | a3a3b65719fba1a9eca2224feb4a93fda3b2913a (diff) | |
connector: bump skb->users before callback invocation
commit 55285bf09427c5abf43ee1d54e892f352092b1f1 upstream.
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: Luis Henriques <luis.henriques@canonical.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
