[IPV6]: Fix crash in ip6_del_rt
authorPatrick McHardy <kaber@trash.net>
Mon, 7 Aug 2006 05:22:47 +0000 (22:22 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 22 Sep 2006 21:53:57 +0000 (14:53 -0700)
commit6c813a7297e3af4cd7c3458e09e9ee3d161c6830
treef4f954814585c1e5eda070742da5a108dd2dbc19
parentd7aba67f814729647c938ac6da2d5224b790f926
[IPV6]: Fix crash in ip6_del_rt

ip6_null_entry doesn't have rt6i_table set, when trying to delete it the
kernel crashes dereferencing table->tb6_lock.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c