Thread (3 messages) flat view 3 messages, 2 authors, 2011-05-09

Re: [PATCH 1/2] ipv4: Pass flow keys down into datagram packet building engine.

From: David Miller <davem@davemloft.net>
Date: 2011-05-09 04:08:22

From: Joe Perches <joe@perches.com>
Date: Sun, 8 May 2011 18:14:46 -0700 (PDT)
On Sun, 8 May 2011, David Miller wrote:
quoted
+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)
 {
[]
quoted
+	memset(&fl4, 0, sizeof(fl4));
	memset(fl4, 0, sizeof(*fl4));
quoted
+	fl4->daddr = (param->replyopts.opt.opt.srr ?
+		      param->replyopts.opt.opt.faddr : iph->saddr);
Thanks Joe :-/  I'll fix that.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help