Files
linux/net
Eric Dumazet e033155d0b net: fix a potential rcu_read_lock() imbalance in rt6_fill_node()
[ Upstream commit 94f826b807 ]

Commit f2c31e32b3 (net: fix NULL dereferences in check_peer_redir() )
added a regression in rt6_fill_node(), leading to rcu_read_lock()
imbalance.

Thats because NLA_PUT() can make a jump to nla_put_failure label.

Fix this by using nla_put()

Many thanks to Ben Greear for his help

Reported-by: Ben Greear <greearb@candelatech.com>
Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-02 09:27:20 -07:00
..
2011-05-23 16:29:24 -04:00
2011-04-17 00:48:31 -07:00
2011-11-11 09:36:45 -08:00
2011-07-19 11:25:04 -07:00
2011-03-14 17:02:42 -07:00
2011-03-17 11:59:32 +11:00
2012-03-23 11:20:51 -07:00
2011-03-21 18:16:39 -07:00
2011-05-24 01:13:12 -04:00
2012-04-02 09:27:20 -07:00
2011-05-24 01:13:12 -04:00
2011-05-24 01:13:12 -04:00
2012-02-29 16:34:07 -08:00
2011-05-24 01:13:12 -04:00
2011-03-31 11:26:23 -03:00
2011-05-05 11:10:14 -07:00
2011-04-29 10:20:53 -07:00