diff options
| author | Dave Craig <dwcraig@qualcomm.com> | 2004-10-05 19:10:12 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-10-05 19:10:12 -0700 |
| commit | bab1d1a254712b63b7cafbce658ac72bf17b9c8b (patch) | |
| tree | 818373e06297711fbb025901f9b5133b1c1aba86 | |
| parent | c4695119a60206b73522cab7a337964dddd518b3 (diff) | |
[IPV6]: Set skb->dev in ip6_pkt_discard_out.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
| -rw-r--r-- | net/ipv6/route.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv6/route.c b/net/ipv6/route.c index 2191d874b4c7..83dc09908b19 100644 --- a/net/ipv6/route.c +++ b/net/ipv6/route.c @@ -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); } |
