]> 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)
commitff0e15e3f31df550e48ce4c764a02c8d75006224
treeb6423fd27aec1765a6f4bc532dd3f5eaf5cb13f2
parent53efde9577ce20c196e8b79c1f6ded55b33e3376
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