diff options
author | Jiri Benc <[email protected]> | 2016-11-10 16:28:19 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-11-13 00:51:02 -0500 |
commit | e2d9d8358cb961340ef88620b6a25ba4557033d5 (patch) | |
tree | c2735d79cdbe2eb2919d41939d3f575648e50b30 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
parent | 329f45bc4f191c663dc156c510816411a4310578 (diff) |
openvswitch: pass mac_proto to ovs_vport_send
We'll need it to alter packets sent to ARPHRD_NONE interfaces.
Change do_output() to use the actual L2 header size of the packet when
deciding on the minimum cutlen. The assumption here is that what matters is
not the output interface hard_header_len but rather the L2 header of the
particular packet. For example, ARPHRD_NONE tunnels that encapsulate
Ethernet should get at least the Ethernet header.
Signed-off-by: Jiri Benc <[email protected]>
Acked-by: Pravin B Shelar <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions