[IPV4] icmp: Kill local 'ip' arg in icmp_redirect().
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 6 Jun 2006 04:19:24 +0000 (21:19 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 18 Jun 2006 04:29:41 +0000 (21:29 -0700)
commitf86502bfc177f69bbabbedb78ebf710579ae0e54
tree07a1551eb832f1c7c437c2d959f44d68e7c24a6a
parent6d7416535097ed0943bdae8e69c14ba43061cab1
[IPV4] icmp: Kill local 'ip' arg in icmp_redirect().

It is typed wrong, and it's only assigned and used once.
So just pass in iph->daddr directly which fixes both problems.

Based upon a patch by Alexey Dobriyan.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/icmp.c