History

[IPV4]: Remove IPVS icmp hack from route.c for now.

Revert: 2d771cd86d4c3af26f34a7bcdc1b87696824cad9 This is dangerous if enabled and a better solution to the problem is being worked on.

David S. Miller committed 19 years ago

Commit f6c5d731 parent d7394371 file · +2 −2Browse files

Unified · Split

net/ipv4/route.c+2−2
@@ -2396,7 +2396,7 @@ static int ip_route_output_slow(struct rtable **rp, const struct flowi *oldflp) · 2395 unmodified lines
23962396
23972397 /* It is equivalent to inet_addr_type(saddr) == RTN_LOCAL */
23982398 dev_out = ip_dev_find(oldflp->fl4_src);
2399− if ((dev_out == NULL) && !(sysctl_ip_nonlocal_bind))
2399+ if (dev_out == NULL)
24002400 goto out;
24012401
24022402 /* I removed check for oif == dev_out->oif here.
@@ -2407,7 +2407,7 @@ static int ip_route_output_slow(struct rtable **rp, const struct flowi *oldflp) · 4 unmodified lines
24072407 of another iface. --ANK
24082408 */
24092409
2410− if (dev_out && oldflp->oif == 0
2410+ if (oldflp->oif == 0
24112411 && (MULTICAST(oldflp->fl4_dst) || oldflp->fl4_dst == htonl(0xFFFFFFFF))) {
24122412 /* Special hack: user can direct multicasts
24132413 and limited broadcast via necessary interface

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t