Re: [PATCH] connector: bump skb->users before callback invocation

2016-01-04 Thread David Miller
From: Florian Westphal Date: Thu, 31 Dec 2015 14:26:33 +0100 > 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 > Signed-off-by: Flori

[PATCH] connector: bump skb->users before callback invocation

2015-12-31 Thread Florian Westphal
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 Signed-off-by: Florian Westphal --- I wonder wth userspace can cram skb->len < NLMSG_HDRLEN do