commit | e40dbc51fbcc3281bb52ecf0f5bec693d36e2aea | [log] [tgz] |
---|---|---|
author | Ben Greear <greearb@candelatech.com> | Thu Jul 15 13:22:33 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 15 22:38:43 2010 -0700 |
tree | 7950aa0bb0e2a338eed7d948c77cd62ec96bf0d8 | |
parent | b0f77d0eae0c58a5a9691a067ada112ceeae2d00 [diff] |
ipmr: Don't leak memory if fib lookup fails. This was detected using two mcast router tables. The pimreg for the second interface did not have a specific mrule, so packets received by it were handled by the default table, which had nothing configured. This caused the ipmr_fib_lookup to fail, causing the memory leak. Signed-off-by: Ben Greear <greearb@candelatech.com> Signed-off-by: David S. Miller <davem@davemloft.net>