From: Nicolas Dichtel Date: Thu, 25 Mar 2010 23:45:35 +0000 (+0000) Subject: net: ipmr/ip6mr: prevent out-of-bounds vif_table access X-Git-Tag: v2.6.34-rc3~9^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7438189baa0a2fe30084bdc97e3d540ebc5444f3;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed