commit | 3114cdfe66c156345b0ae34e2990472f277e0c1b | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@intel.com> | Tue Nov 15 05:46:12 2016 -0500 |
committer | David S. Miller <davem@davemloft.net> | Wed Nov 16 13:24:50 2016 -0500 |
tree | 356e4a21747a35c5e3347cb7fc6bc75c9397d769 | |
parent | 3b7093346b326e5d3590c7d49f6aefe6fa5b2c9a [diff] |
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>