|
@@ -117,7 +117,7 @@ static inline __sum16 ip_compute_csum(const void *buff, int len)
|
|
#define _HAVE_ARCH_IPV6_CSUM
|
|
#define _HAVE_ARCH_IPV6_CSUM
|
|
static __inline__ __sum16
|
|
static __inline__ __sum16
|
|
csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr,
|
|
csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr,
|
|
- __u32 len, unsigned short proto, __wsum sum)
|
|
|
|
|
|
+ __u32 len, __u8 proto, __wsum sum)
|
|
{
|
|
{
|
|
register unsigned long tmp;
|
|
register unsigned long tmp;
|
|
__asm__("addl %2@,%0\n\t"
|
|
__asm__("addl %2@,%0\n\t"
|