diff options
author | Matti Vaittinen <matti.vaittinen@nsn.com> | 2011-11-16 21:18:02 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-17 03:16:25 -0500 |
commit | 14df015bb1708cd7ba1e5af11a1b0365b165a3ef (patch) | |
tree | 8b49170dec56070f9534905e7de7d1a3e682239a /net/mac80211/cfg.c | |
parent | 8f5f69824fe221a36df781c2aee9fa1d74e89077 (diff) |
IPV6 Fix a crash when trying to replace non existing route
This patch fixes a crash when non existing IPv6 route is tried to be changed.
When new destination node was inserted in middle of FIB6 tree, no relevant
sanity checks were performed. Later route insertion might have been prevented
due to invalid request, causing node with no rt info being left in tree.
When this node was accessed, a crash occurred.
Patch adds missing checks in fib6_add_1()
Signed-off-by: Matti Vaittinen <Mazziesaccount@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211/cfg.c')
0 files changed, 0 insertions, 0 deletions