[Devel] Re: [PATCH] OOPS with NETLINK_FIB_LOOKUP netlink socket

David Miller davem at davemloft.net
Fri Dec 21 01:33:21 PST 2007


From: "Denis V. Lunev" <den at openvz.org>
Date: Fri, 21 Dec 2007 12:00:43 +0300

> nl_fib_input re-reuses incoming skb to send the reply. This means that this
> packet will be freed twice, namely in:
> - netlink_unicast_kernel
> - on receive path
> Use clone to send as a cure, the caller is responsible for kfree_skb on error.
> 
> Thanks to Alexey Dobryan, who originally found the problem.
> 
> Signed-off-by: Denis V. Lunev <den at openvz.org>

What introduced this bug?  This code didn't have this
problem previously.




More information about the Devel mailing list