lua: Fixed some cross-platform issues for PPC (and probably other architectures)
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.22 / 201-multiple_default_gateways.patch
index 313b110..47d53b7 100644 (file)
@@ -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);
This page took 0.022113 seconds and 4 git commands to generate.