aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/protocol.c
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2017-05-27 16:19:25 -0600
committerDavid S. Miller <davem@davemloft.net>2017-05-30 11:55:31 -0400
commitba277e8e05dbd4aa13f74f859e276d5d54467eab (patch)
tree6088f00fefb073abbc271ca759a29621617469e4 /net/ipv4/protocol.c
parentMerge branch 'nfp-pci-core-hwmon-live-mac-addr-change' (diff)
downloadlinux-dev-ba277e8e05dbd4aa13f74f859e276d5d54467eab.tar.xz
linux-dev-ba277e8e05dbd4aa13f74f859e276d5d54467eab.zip
net: ipv4: refactor key and length checks
fib_table_insert and fib_table_delete have the same checks on the prefix and length. Refactor into a helper. Avoids duplicate extack messages in the next patch. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/protocol.c')
0 files changed, 0 insertions, 0 deletions