aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/emulex/benet/be_main.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2017-01-02 13:32:54 -0800
committerDavid S. Miller <davem@davemloft.net>2017-01-03 09:38:34 -0500
commit5350d54f6cd12eaff623e890744c79b700bd3f17 (patch)
treece5b6842e8e35439b2a44b98df7b75aa8107417c /drivers/net/ethernet/emulex/benet/be_main.c
parentnet: macb: Updated resource allocation function calls to new version of API. (diff)
downloadlinux-dev-5350d54f6cd12eaff623e890744c79b700bd3f17.tar.xz
linux-dev-5350d54f6cd12eaff623e890744c79b700bd3f17.zip
ipv4: Do not allow MAIN to be alias for new LOCAL w/ custom rules
In the case of custom rules being present we need to handle the case of the LOCAL table being intialized after the new rule has been added. To address that I am adding a new check so that we can make certain we don't use an alias of MAIN for LOCAL when allocating a new table. Fixes: 0ddcf43d5d4a ("ipv4: FIB Local/MAIN table collapse") Reported-by: Oliver Brunel <jjk@jjacky.com> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_main.c')
0 files changed, 0 insertions, 0 deletions