Repository navigation
Commit f86502b
David S. Miller
[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>1 parent 6d74165 commit f86502b
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
733 | | - | |
734 | 733 | | |
735 | 734 | | |
736 | 735 | | |
| |||
742 | 741 | | |
743 | 742 | | |
744 | 743 | | |
745 | | - | |
746 | 744 | | |
747 | 745 | | |
748 | 746 | | |
| |||
752 | 750 | | |
753 | 751 | | |
754 | 752 | | |
755 | | - | |
| 753 | + | |
| 754 | + | |
756 | 755 | | |
757 | 756 | | |
758 | 757 | | |
| |||
0 commit comments