commit | 3c051235a7f115c34e675c9cf55820bd3435f860 | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Fri Apr 18 01:46:19 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Apr 18 01:46:19 2008 -0700 |
tree | 85fd6bf395a8bf5934bd278f6354b1e94110a51f | |
parent | 1e42198609d73ed1a9adcba2af275c24c2678420 [diff] |
[IPV6]: Fix dangling references on error in fib6_add(). Fixes bugzilla #8895 If a super-tree leaf has 'rt' assigned to it and we get an error from fib6_add_rt2node(), we'll leave a reference to 'rt' in pn->leaf and then do an unconditional dst_free(). We should prune such references. Based upon a report by Vincent Perrier. Signed-off-by: David S. Miller <davem@davemloft.net>