]> git.baikalelectronics.ru Git - kernel.git/commit
arp: decompose is_garp logic into a separate function
authorIhar Hrachyshka <ihrachys@redhat.com>
Thu, 18 May 2017 19:41:19 +0000 (12:41 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 May 2017 17:26:45 +0000 (13:26 -0400)
commitf0faea0baa2c4145c5694b3491628dbb8e7a09a5
tree831a02bc8d919ba4db70d0f5a35179dadddcf0f6
parent33707e3275c265df1c9accca3f73142875fd3aeb
arp: decompose is_garp logic into a separate function

The code is quite involving already to earn a separate function for
itself. If anything, it helps arp_process readability.

Signed-off-by: Ihar Hrachyshka <ihrachys@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/arp.c