]> git.baikalelectronics.ru Git - kernel.git/commit
flow_dissector: Move ARP dissection into a separate function
authorJiri Pirko <jiri@mellanox.com>
Mon, 6 Mar 2017 15:39:51 +0000 (16:39 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Mar 2017 07:08:57 +0000 (23:08 -0800)
commitb60d5f18b5e548594e2b71166b9bd3c48795f16b
treeb6423fd27aec1765a6f4bc532dd3f5eaf5cb13f2
parent5e69b5c6f3119dc0117a818ab2b64a187260f3ef
flow_dissector: Move ARP dissection into a separate function

Make the main flow_dissect function a bit smaller and move the ARP
dissection into a separate function. Along with that, do the ARP header
processing only in case the flow dissection user requires it.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/flow_dissector.c