X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/e6a68af9e901df02e28f221dcf7c7d9462a9bd02..adde7768a2eab2950a7628319ec832c63a00ff03:/target/linux/generic-2.6/patches-2.6.22/201-multiple_default_gateways.patch?ds=sidebyside diff --git a/target/linux/generic-2.6/patches-2.6.22/201-multiple_default_gateways.patch b/target/linux/generic-2.6/patches-2.6.22/201-multiple_default_gateways.patch index 313b1102f..47d53b7f1 100644 --- a/target/linux/generic-2.6/patches-2.6.22/201-multiple_default_gateways.patch +++ b/target/linux/generic-2.6/patches-2.6.22/201-multiple_default_gateways.patch @@ -1,6 +1,5 @@ -diff -urN linux-2.6.21.1.old/include/linux/rtnetlink.h linux-2.6.21.1.dev/include/linux/rtnetlink.h ---- linux-2.6.21.1.old/include/linux/rtnetlink.h 2007-04-27 23:49:26.000000000 +0200 -+++ linux-2.6.21.1.dev/include/linux/rtnetlink.h 2007-05-26 20:46:11.883321560 +0200 +--- a/include/linux/rtnetlink.h ++++ b/include/linux/rtnetlink.h @@ -293,6 +293,8 @@ #define RTNH_F_DEAD 1 /* Nexthop is dead (used by multipath) */ #define RTNH_F_PERVASIVE 2 /* Do recursive gateway lookup */ @@ -10,9 +9,8 @@ diff -urN linux-2.6.21.1.old/include/linux/rtnetlink.h linux-2.6.21.1.dev/includ /* Macros to handle hexthops */ -diff -urN linux-2.6.21.1.old/include/net/flow.h linux-2.6.21.1.dev/include/net/flow.h ---- linux-2.6.21.1.old/include/net/flow.h 2007-04-27 23:49:26.000000000 +0200 -+++ linux-2.6.21.1.dev/include/net/flow.h 2007-05-26 20:46:11.922315632 +0200 +--- a/include/net/flow.h ++++ b/include/net/flow.h @@ -19,6 +19,8 @@ struct { __be32 daddr; @@ -31,9 +29,8 @@ diff -urN linux-2.6.21.1.old/include/net/flow.h linux-2.6.21.1.dev/include/net/f #define fl4_tos nl_u.ip4_u.tos #define fl4_scope nl_u.ip4_u.scope -diff -urN linux-2.6.21.1.old/net/ipv4/route.c linux-2.6.21.1.dev/net/ipv4/route.c ---- linux-2.6.21.1.old/net/ipv4/route.c 2007-04-27 23:49:26.000000000 +0200 -+++ linux-2.6.21.1.dev/net/ipv4/route.c 2007-05-26 20:46:11.967308792 +0200 +--- a/net/ipv4/route.c ++++ b/net/ipv4/route.c @@ -1208,6 +1208,7 @@ /* Gateway is different ... */ @@ -332,7 +329,7 @@ diff -urN linux-2.6.21.1.old/net/ipv4/route.c linux-2.6.21.1.dev/net/ipv4/route. rth->fl.mark == flp->mark && !((rth->fl.fl4_tos ^ flp->fl4_tos) & (IPTOS_RT_MASK | RTO_ONLINK))) { -@@ -3271,3 +3311,4 @@ +@@ -3267,3 +3307,4 @@ EXPORT_SYMBOL(__ip_select_ident); EXPORT_SYMBOL(ip_route_input); EXPORT_SYMBOL(ip_route_output_key);