Denis V. Lunev d883a03671 [IPV4]: OOPS with NETLINK_FIB_LOOKUP netlink socket
[ Regression added by changeset:
	cd40b7d3983c708aabe3d3008ec64ffce56d33b0
	[NET]: make netlink user -> kernel interface synchronious
  -DaveM ]

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-12-21 02:01:53 -08:00
..
2007-11-02 08:47:06 +01:00
2007-12-19 23:38:11 -08:00
2007-10-19 11:53:41 -07:00
2007-10-26 04:06:08 -07:00
2007-12-05 05:37:32 -08:00
2007-10-15 12:26:35 -07:00
2007-10-15 12:26:35 -07:00
2007-10-20 01:34:40 +02:00
2007-04-25 22:28:20 -07:00
2007-10-10 16:48:31 -07:00