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
2396 2396
2397 /* It is equivalent to inet_addr_type(saddr) == RTN_LOCAL */2397 /* It is equivalent to inet_addr_type(saddr) == RTN_LOCAL */
2398 dev_out = ip_dev_find(oldflp->fl4_src);2398 dev_out = ip_dev_find(oldflp->fl4_src);
2399 if ((dev_out == NULL) && !(sysctl_ip_nonlocal_bind))2399 if (dev_out == NULL)
2400 goto out;2400 goto out;
2401 2401
2402 /* I removed check for oif == dev_out->oif here.2402 /* 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
2407 of another iface. --ANK2407 of another iface. --ANK
2408 */2408 */
2409 2409
2410 if (dev_out && oldflp->oif == 02410 if (oldflp->oif == 0
2411 && (MULTICAST(oldflp->fl4_dst) || oldflp->fl4_dst == htonl(0xFFFFFFFF))) {2411 && (MULTICAST(oldflp->fl4_dst) || oldflp->fl4_dst == htonl(0xFFFFFFFF))) {
2412 /* Special hack: user can direct multicasts2412 /* Special hack: user can direct multicasts
2413 and limited broadcast via necessary interface2413 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