]> git.baikalelectronics.ru Git - kernel.git/commit
net/ipv4: Move device validation to helper
authorDavid Ahern <dsahern@gmail.com>
Thu, 20 Sep 2018 20:50:47 +0000 (13:50 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Sep 2018 03:01:52 +0000 (20:01 -0700)
commit2857e613360d9b4d62b75baa1f2632565935ca3c
tree6f0d2d9ab64a7580e0f566da73ce39382375d7cb
parent6f37973b1a74995c7b8413a6e0202a239c0c3914
net/ipv4: Move device validation to helper

Move the device matching check in __fib_validate_source to a helper and
export it for use by netfilter modules. Code move only; no functional
change intended.

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