ipv4: fix rcu splat
authorEric Dumazet <edumazet@google.com>
Tue, 17 Jul 2012 20:42:13 +0000 (22:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jul 2012 20:47:33 +0000 (13:47 -0700)
free_nh_exceptions() should use rcu_dereference_protected(..., 1)
since its called after one RCU grace period.

Also add some const-ification in recent code.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c
net/ipv4/inet_connection_sock.c
net/ipv4/route.c

Simple merge
Simple merge
Simple merge