Author: dannf
Date: Mon Apr 16 19:00:06 2007
New Revision: 8481

Modified:
   
dists/sarge-security/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/appletalk-endianness-annotations.dpatch
Log:
buildfix - __be16 annotation didn't exist in 2.6.8

Modified: 
dists/sarge-security/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/appletalk-endianness-annotations.dpatch
==============================================================================
--- 
dists/sarge-security/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/appletalk-endianness-annotations.dpatch
 (original)
+++ 
dists/sarge-security/kernel/source/kernel-source-2.6.8-2.6.8/debian/patches/appletalk-endianness-annotations.dpatch
 Mon Apr 16 19:00:06 2007
@@ -50,7 +50,7 @@
 -              deh_hops:4,
 -              deh_len:10;
 -#endif
-+      __be16  deh_len_hops;   /* lower 10 bits are length, next 4 - hops */
++      __u16   deh_len_hops;   /* lower 10 bits are length, next 4 - hops */
        __u16   deh_sum;
        __u16   deh_dnet;
        __u16   deh_snet;
@@ -99,7 +99,7 @@
  }
  
 -static unsigned short atalk_checksum(const struct sk_buff *skb, int len)
-+static __be16 atalk_checksum(const struct sk_buff *skb, int len)
++static __u16 atalk_checksum(const struct sk_buff *skb, int len)
  {
        unsigned long sum;
  
@@ -201,7 +201,7 @@
                struct atalk_addr *ap = atalk_find_dev_addr(dev);
  
 -              if (!ap || skb->len < sizeof(struct ddpshdr))
-+              if (!ap || skb->len < sizeof(__be16) || skb->len > 1023)
++              if (!ap || skb->len < sizeof(__u16) || skb->len > 1023)
                        goto freeit;
  
                /* Don't mangle buffer if shared */

_______________________________________________
Kernel-svn-changes mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/kernel-svn-changes

Reply via email to