diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2016-11-15 11:46:12 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-16 19:24:50 +0100 |
commit | 3114cdfe66c156345b0ae34e2990472f277e0c1b (patch) | |
tree | 356e4a21747a35c5e3347cb7fc6bc75c9397d769 /net/802 | |
parent | ipv4: Restore fib_trie_flush_external function and fix call ordering (diff) | |
download | linux-3114cdfe66c156345b0ae34e2990472f277e0c1b.tar.xz linux-3114cdfe66c156345b0ae34e2990472f277e0c1b.zip |
ipv4: Fix memory leak in exception case for splitting tries
Fix a small memory leak that can occur where we leak a fib_alias in the
event of us not being able to insert it into the local table.
Fixes: 0ddcf43d5d4a0 ("ipv4: FIB Local/MAIN table collapse")
Reported-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions