[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.30.1105081811570.26257-100000@mail.perches.com>
Date: Sun, 8 May 2011 18:14:46 -0700 (PDT)
From: Joe Perches <joe@...ches.com>
To: David Miller <davem@...emloft.net>
cc: <netdev@...r.kernel.org>
Subject: Re: [PATCH 1/2] ipv4: Pass flow keys down into datagram packet
building engine.
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);
--
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