Skip to content

Commit dfdbeb3

Browse files
committed
Merge: tunnels: backports from upstream
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/6133 JIRA: https://issues.redhat.com/browse/RHEL-73420 Upstream Status: linux.git Signed-off-by: Guillaume Nault <gnault@redhat.com> Approved-by: Xin Long <lxin@redhat.com> Approved-by: Hangbin Liu <haliu@redhat.com> Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com> Merged-by: Rado Vrbovsky <rvrbovsk@redhat.com>
2 parents 78afc57 + 199d8e0 commit dfdbeb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/geneve.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ static int geneve_xmit_skb(struct sk_buff *skb, struct net_device *dev,
885885
if (geneve->cfg.df == GENEVE_DF_SET) {
886886
df = htons(IP_DF);
887887
} else if (geneve->cfg.df == GENEVE_DF_INHERIT) {
888-
struct ethhdr *eth = eth_hdr(skb);
888+
struct ethhdr *eth = skb_eth_hdr(skb);
889889

890890
if (ntohs(eth->h_proto) == ETH_P_IPV6) {
891891
df = htons(IP_DF);

0 commit comments

Comments
 (0)