]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv4: Simplify fib_select_path
authorDavid Ahern <dsahern@gmail.com>
Tue, 13 Feb 2018 16:11:34 +0000 (08:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Feb 2018 19:00:57 +0000 (14:00 -0500)
commit59460fd8e1149711939b5c01c3124e512d89dfcc
tree1b6dfe55bd2c69fc829d524354ca575d96ea64fe
parent22c8d88da0f478f7620a9509ebfa34254a54ce3b
net/ipv4: Simplify fib_select_path

If flow oif is set and it is not an l3mdev, then fib_select_path
can jump to the source address check.

Signed-off-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c