OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] OOPS with NETLINK_FIB_LOOKUP netlink socket
Re: [PATCH] OOPS with NETLINK_FIB_LOOKUP netlink socket [message #25364 is a reply to message #25362] Fri, 21 December 2007 09:33 Go to previous messageGo to previous message
davem is currently offline  davem
Messages: 463
Registered: February 2006
Senior Member
From: "Denis V. Lunev" <den@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@openvz.org>

What introduced this bug?  This code didn't have this
problem previously.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: [patch 1/2] [RFC] Simple tamper-proof device filesystem.
Next Topic: [PATCH 0/10] sysfs network namespace support
Goto Forum:
  


Current Time: Wed Jul 30 07:55:12 GMT 2025

Total time taken to generate the page: 0.05698 seconds