Nicolas Dichtel 7438189baa net: ipmr/ip6mr: prevent out-of-bounds vif_table access
When cache is unresolved, c->mf[6]c_parent is set to 65535 and
minvif, maxvif are not initialized, hence we must avoid to
parse IIF and OIF.
A second problem can happen when the user dumps a cache entry
where a VIF, that was referenced at creation time, has been
removed.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-03-27 08:33:21 -07:00
..
2008-10-29 12:52:50 -07:00
2010-02-22 16:20:22 -08:00
2010-01-17 19:16:02 -08:00
2010-02-22 16:20:22 -08:00
2009-10-20 18:55:45 -07:00
2010-02-22 16:20:22 -08:00
2009-10-07 14:50:30 -07:00
2010-02-17 18:48:44 -08:00
2009-06-03 02:51:04 -07:00
2009-09-14 17:03:05 -07:00
2010-01-17 19:16:02 -08:00
2010-03-05 13:34:03 -08:00
2010-01-17 19:16:02 -08:00
2009-06-03 02:51:04 -07:00
2010-03-03 01:04:37 -08:00