* Fix net-2.6.25 compiler error
@ 2007-11-14 9:52 Patrick McHardy
2007-11-14 9:59 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Patrick McHardy @ 2007-11-14 9:52 UTC (permalink / raw)
To: David S. Miller; +Cc: Linux Netdev List
[-- Attachment #1: Type: text/plain, Size: 92 bytes --]
Fix a missed NF_IP6_LOCAL_OUT conversion.
Signed-off-by: Patrick McHardy <kaber@trash.net>
[-- Attachment #2: x --]
[-- Type: text/plain, Size: 577 bytes --]
diff --git a/net/ipv6/netfilter/ip6t_REJECT.c b/net/ipv6/netfilter/ip6t_REJECT.c
index 201e251..960ba17 100644
--- a/net/ipv6/netfilter/ip6t_REJECT.c
+++ b/net/ipv6/netfilter/ip6t_REJECT.c
@@ -164,7 +164,7 @@ static void send_reset(struct sk_buff *oldskb)
static inline void
send_unreach(struct sk_buff *skb_in, unsigned char code, unsigned int hooknum)
{
- if (hooknum == NF_IP6_LOCAL_OUT && skb_in->dev == NULL)
+ if (hooknum == NF_INET_LOCAL_OUT && skb_in->dev == NULL)
skb_in->dev = init_net.loopback_dev;
icmpv6_send(skb_in, ICMPV6_DEST_UNREACH, code, 0, NULL);
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: Fix net-2.6.25 compiler error
2007-11-14 9:52 Fix net-2.6.25 compiler error Patrick McHardy
@ 2007-11-14 9:59 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2007-11-14 9:59 UTC (permalink / raw)
To: kaber; +Cc: netdev
From: Patrick McHardy <kaber@trash.net>
Date: Wed, 14 Nov 2007 10:52:53 +0100
> Fix a missed NF_IP6_LOCAL_OUT conversion.
>
> Signed-off-by: Patrick McHardy <kaber@trash.net>
Applied, my allmodconfig test build just hit this one too.
Thanks again!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-11-14 9:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-14 9:52 Fix net-2.6.25 compiler error Patrick McHardy
2007-11-14 9:59 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).