Commit bab1d1a2 authored by Dave Craig's avatar Dave Craig Committed by David S. Miller

[IPV6]: Set skb->dev in ip6_pkt_discard_out.

Signed-off-by: default avatarYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c4695119
......@@ -1357,6 +1357,8 @@ int ip6_pkt_discard(struct sk_buff *skb)
int ip6_pkt_discard_out(struct sk_buff **pskb)
{
(*pskb)->dev = (*pskb)->dst->dev;
BUG_ON(!(*pskb)->dev);
return ip6_pkt_discard(*pskb);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment