[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20110508.210749.193695681.davem@davemloft.net>
Date: Sun, 08 May 2011 21:07:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: joe@...ches.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] ipv4: Pass flow keys down into datagram packet
building engine.
From: Joe Perches <joe@...ches.com>
Date: Sun, 8 May 2011 18:14:46 -0700 (PDT)
> On Sun, 8 May 2011, David Miller wrote:
>> +static struct rtable *icmp_route_lookup(struct net *net,
>> + struct flowi4 *fl4,
>> + struct sk_buff *skb_in,
>> const struct iphdr *iph,
>> __be32 saddr, u8 tos,
>> int type, int code,
>> struct icmp_bxm *param)
>> {
> []
>> + memset(&fl4, 0, sizeof(fl4));
>
> memset(fl4, 0, sizeof(*fl4));
>
>> + fl4->daddr = (param->replyopts.opt.opt.srr ?
>> + param->replyopts.opt.opt.faddr : iph->saddr);
>
Thanks Joe :-/ I'll fix that.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists