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-12-16 13:35:51 -08:00
2007-12-20 13:59:39 -08:00
2007-12-20 14:01:35 -08:00
2007-12-20 14:00:51 -08:00
2007-12-20 14:04:24 -08:00
2007-12-20 14:03:11 -08:00
2007-11-29 18:08:48 -05:00
2007-12-07 04:31:47 -08:00
2007-12-20 14:02:40 -08:00
2007-12-20 14:03:52 -08:00
2007-12-14 13:54:37 -08:00