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

Make the main flow_dissect function a bit smaller and move the MPLS
dissection into a separate function. Along with that, do the MPLS 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