Author: arekm                        Date: Fri Sep 11 06:52:41 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated

---- Files affected:
packages/kernel:
   kernel-pom-ng-ROUTE.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: packages/kernel/kernel-pom-ng-ROUTE.patch
diff -u packages/kernel/kernel-pom-ng-ROUTE.patch:1.3 
packages/kernel/kernel-pom-ng-ROUTE.patch:1.4
--- packages/kernel/kernel-pom-ng-ROUTE.patch:1.3       Thu Sep 10 22:31:37 2009
+++ packages/kernel/kernel-pom-ng-ROUTE.patch   Fri Sep 11 08:52:36 2009
@@ -183,8 +183,8 @@
 +      /* Success if no oif specified or if the oif correspond to the 
 +       * one desired */
 +      if (!ifindex || rt->u.dst.dev->ifindex == ifindex) {
-+              skb->dst = &rt->u.dst;
-+              skb->dev = skb->dst->dev;
++              skb_dst_set(skb, &rt->u.dst);
++              skb->dev = skb_dst(skb)->dev;
 +              skb->protocol = htons(ETH_P_IP);
 +              return 1;
 +      }
@@ -209,7 +209,7 @@
 + */
 +static void ip_direct_send(struct sk_buff *skb)
 +{
-+      struct dst_entry *dst = skb->dst;
++      struct dst_entry *dst = skb_dst(skb);
 +      struct hh_cache *hh = dst->hh;
 +      struct net_device *dev = dst->dev;
 +      int hh_len = LL_RESERVED_SPACE(dev);
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kernel/kernel-pom-ng-ROUTE.patch?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to