Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 841baa7 commit 13c4543Copy full SHA for 13c4543
drivers/net/ipvlan/ipvlan_core.c
@@ -439,7 +439,7 @@ static noinline_for_stack int ipvlan_process_v4_outbound(struct sk_buff *skb)
439
440
memset(IPCB(skb), 0, sizeof(*IPCB(skb)));
441
442
- err = ip_local_out(net, skb->sk, skb);
+ err = ip_local_out(net, NULL, skb);
443
if (unlikely(net_xmit_eval(err)))
444
DEV_STATS_INC(dev, tx_errors);
445
else
@@ -494,7 +494,7 @@ static int ipvlan_process_v6_outbound(struct sk_buff *skb)
494
495
memset(IP6CB(skb), 0, sizeof(*IP6CB(skb)));
496
497
- err = ip6_local_out(dev_net(dev), skb->sk, skb);
+ err = ip6_local_out(dev_net(dev), NULL, skb);
498
499
500
0 commit comments