aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/inet_hashtables.c
diff options
context:
space:
mode:
authorGao Feng <gfree.wind@vip.163.com>2017-12-01 16:33:03 +0800
committerDavid S. Miller <davem@davemloft.net>2017-12-03 09:46:42 -0500
commit5e51fe6f4472510a85e637907e24d4fbe5e39489 (patch)
tree9029011a1792dc76e1b35cd95396706082d5517c /net/ipv4/inet_hashtables.c
parentMerge branch 'realtek-phy-improvements' (diff)
downloadlinux-dev-5e51fe6f4472510a85e637907e24d4fbe5e39489.tar.xz
linux-dev-5e51fe6f4472510a85e637907e24d4fbe5e39489.zip
ipvlan: Add new func ipvlan_is_valid_dev instead of duplicated codes
There are multiple duplicated condition checks in the current codes, so I add the new func ipvlan_is_valid_dev instead of the duplicated codes to check if the netdev is real ipvlan dev. Signed-off-by: Gao Feng <gfree.wind@vip.163.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions