]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit9bf881ffc5c0e65343fb51eef10dd989b36d1c1f
treeb6423fd27aec1765a6f4bc532dd3f5eaf5cb13f2
parentfa383d663e3804ef76382c32524802b419b43770
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