diff options
author | Jiri Benc <[email protected]> | 2016-04-27 11:29:07 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-04-28 17:02:45 -0400 |
commit | 2090714e1d6e80979dd6926be22b0de9ca432273 (patch) | |
tree | f8745a471e54642e31bd682dc16eadc1b09ff568 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | a64b04d86d14c81f50f68e102f79ef301e3d0a0e (diff) |
gre: build header correctly for collect metadata tunnels
In ipgre (i.e. not gretap) + collect metadata mode, the skb was assumed to
contain Ethernet header and was encapsulated as ETH_P_TEB. This is not the
case, the interface is ARPHRD_IPGRE and the protocol to be used for
encapsulation is skb->protocol.
Fixes: 2e15ea390e6f4 ("ip_gre: Add support to collect tunnel metadata.")
Signed-off-by: Jiri Benc <[email protected]>
Acked-by: Pravin B Shelar <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions