projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge v5.14-rc3 into usb-next
[linux-2.6-microblaze.git]
/
include
/
net
/
dst_metadata.h
diff --git
a/include/net/dst_metadata.h
b/include/net/dst_metadata.h
index
56cb3c3
..
14efa0d
100644
(file)
--- a/
include/net/dst_metadata.h
+++ b/
include/net/dst_metadata.h
@@
-45,7
+45,9
@@
skb_tunnel_info(const struct sk_buff *skb)
return &md_dst->u.tun_info;
dst = skb_dst(skb);
- if (dst && dst->lwtstate)
+ if (dst && dst->lwtstate &&
+ (dst->lwtstate->type == LWTUNNEL_ENCAP_IP ||
+ dst->lwtstate->type == LWTUNNEL_ENCAP_IP6))
return lwt_tun_info(dst->lwtstate);
return NULL;