summaryrefslogtreecommitdiff
path: root/net/ax25/Kconfig
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2014-10-13 16:34:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-11-14 08:47:53 -0800
commit4449361e6feca3caa91749ad3f8333f9ac5502ab (patch)
treef65868a5f7641e795244fb2035876b20e23d884f /net/ax25/Kconfig
parent3ad3add775181f56f51ed14324ed4e7f1c9d3d1e (diff)
downloadlinux-3.10-4449361e6feca3caa91749ad3f8333f9ac5502ab.tar.gz
linux-3.10-4449361e6feca3caa91749ad3f8333f9ac5502ab.tar.bz2
linux-3.10-4449361e6feca3caa91749ad3f8333f9ac5502ab.zip
ipv4: fix nexthop attlen check in fib_nh_match
[ Upstream commit f76936d07c4eeb36d8dbb64ebd30ab46ff85d9f7 ] fib_nh_match does not match nexthops correctly. Example: ip route add 172.16.10/24 nexthop via 192.168.122.12 dev eth0 \ nexthop via 192.168.122.13 dev eth0 ip route del 172.16.10/24 nexthop via 192.168.122.14 dev eth0 \ nexthop via 192.168.122.15 dev eth0 Del command is successful and route is removed. After this patch applied, the route is correctly matched and result is: RTNETLINK answers: No such process Please consider this for stable trees as well. Fixes: 4e902c57417c4 ("[IPv4]: FIB configuration using struct fib_config") Signed-off-by: Jiri Pirko <jiri@resnulli.us> Acked-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ax25/Kconfig')
0 files changed, 0 insertions, 0 deletions