OpenVZ Forum


Home » Mailing lists » Devel » [KERNEL COMMIT]: diff-venet-srccheck-fix-20051208
[KERNEL COMMIT]: diff-venet-srccheck-fix-20051208 [message #515] Sat, 10 December 2005 12:04
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

Committed in 022stab053

Patch from Denis (den@) and Pavel (xemul@):
When ip_rt_src_check is off we still can try
to route multicast/broadcast packets.
Bug #55476


--- ./net/ipv4/route.c.ipr 2005-12-08 12:33:07.000000000 +0300
+++ ./net/ipv4/route.c 2005-12-08 20:05:15.964911728 +0300
@@ -2145,6 +2145,12 @@ static int ip_route_output_slow(struct r
Luckily, this hack is good workaround.
*/

+ if (dev_out == NULL) {
+ dev_out = ip_dev_find(oldflp->fl4_src);
+ if (dev_out == NULL)
+ goto out;
+ }
+
fl.oif = dev_out->ifindex;
goto make_route;
}
Previous Topic: [KERNEL COMMIT]: diff-ve-vpid-netlink-20051210
Next Topic: [PATCH] ve_env checks for netlink
Goto Forum:
  


Current Time: Wed May 01 06:14:09 GMT 2024

Total time taken to generate the page: 0.02140 seconds