ipv4: ipmr: fix NULL pointer deref during unres queue destruction
authorPatrick McHardy <kaber@trash.net>
Thu, 15 Apr 2010 11:29:28 +0000 (13:29 +0200)
committerPatrick McHardy <kaber@trash.net>
Thu, 15 Apr 2010 11:31:29 +0000 (13:31 +0200)
Fix an oversight in ipmr_destroy_unres() - the net pointer is
unconditionally initialized to NULL, resulting in a NULL pointer
dereference later on.

Fix by adding a net pointer to struct mr_table and using it in
ipmr_destroy_unres().

Signed-off-by: Patrick McHardy <kaber@trash.net>

No differences found