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
..
2010-02-22 16:20:22 -08:00
2009-10-18 18:52:53 -07:00
2010-02-22 16:20:22 -08:00
2009-11-13 20:46:58 -08:00
2009-06-03 02:51:04 -07:00
2009-11-25 15:14:13 -08:00
2009-06-03 02:51:04 -07:00
2010-02-22 16:20:22 -08:00
2008-10-07 08:38:24 +11:00
2009-09-14 17:03:01 -07:00
2010-02-18 15:43:09 -08:00
2009-03-02 03:00:15 -08:00
2009-03-02 03:00:15 -08:00
2010-03-05 13:34:03 -08:00
2010-03-08 11:32:01 -08:00
2009-05-25 22:44:59 -07:00
2010-03-20 14:29:02 -07:00
2009-09-14 17:03:01 -07: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
2009-06-03 02:51:04 -07:00
2009-06-03 02:51:04 -07:00
2010-03-03 01:04:37 -08:00