Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175480
b: refs/heads/master
c: 20c1f64
h: refs/heads/master
v: v3
  • Loading branch information
Arnd Bergmann committed Nov 3, 2009
1 parent 4891d5e commit 2e57ac7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c44ba9f6684946b156335da6a6d55f0b8cf7cb72
refs/heads/master: 20c1f641bb80fb272dec959a5caabed92e5a422e
2 changes: 2 additions & 0 deletions trunk/lib/checksum.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

#include <asm/byteorder.h>

#ifndef do_csum
static inline unsigned short from32to16(unsigned int x)
{
/* add up 16-bit and 16-bit for 16+c bit */
Expand Down Expand Up @@ -102,6 +103,7 @@ static unsigned int do_csum(const unsigned char *buff, int len)
out:
return result;
}
#endif

/*
* This is a version of ip_compute_csum() optimized for IP headers,
Expand Down

0 comments on commit 2e57ac7

Please sign in to comment.