diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2005-04-19 22:32:22 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-04-19 22:32:22 -0700 |
commit | 3320da8906d8a7277ef54fd1b3646f85354cb66a (patch) | |
tree | 97b9e465bc72ed95a0d3959cf0abb3786f9d7517 /net/ipv6/ip6_output.c | |
parent | 357b40a18b04c699da1d45608436e9b76b50e251 (diff) | |
download | linux-3.10-3320da8906d8a7277ef54fd1b3646f85354cb66a.tar.gz linux-3.10-3320da8906d8a7277ef54fd1b3646f85354cb66a.tar.bz2 linux-3.10-3320da8906d8a7277ef54fd1b3646f85354cb66a.zip |
[IPV6]: Replace bogus instances of inet->recverr
While looking at this problem I noticed that IPv6 was sometimes
looking at inet->recverr which is bogus. Here is a patch to
correct that and use np->recverr.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_output.c')
-rw-r--r-- | net/ipv6/ip6_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c index 49208ba7509..0f0711417c9 100644 --- a/net/ipv6/ip6_output.c +++ b/net/ipv6/ip6_output.c @@ -1149,7 +1149,7 @@ int ip6_push_pending_frames(struct sock *sk) err = NF_HOOK(PF_INET6, NF_IP6_LOCAL_OUT, skb, NULL, skb->dst->dev, dst_output); if (err) { if (err > 0) - err = inet->recverr ? net_xmit_errno(err) : 0; + err = np->recverr ? net_xmit_errno(err) : 0; if (err) goto error; } |