diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2017-01-03 00:32:54 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-15 15:41:35 +0300 |
commit | 807cac887d958250874bde823bae90ddcd35cefb (patch) | |
tree | c370960993a8732cfaaba0eeed27e32dfc49d944 /block/blk-merge.c | |
parent | 0d431f94c1815aee201238c1b0cb5e337241abbe (diff) | |
download | linux-807cac887d958250874bde823bae90ddcd35cefb.tar.xz |
ipv4: Do not allow MAIN to be alias for new LOCAL w/ custom rules
[ Upstream commit 5350d54f6cd12eaff623e890744c79b700bd3f17 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'block/blk-merge.c')
0 files changed, 0 insertions, 0 deletions