http://git.etherboot.org
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b91b9d3
)
Fix compiler warning
author
Michael Brown
<mcb30@etherboot.org>
Wed, 3 Jan 2007 15:56:15 +0000
(15:56 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Wed, 3 Jan 2007 15:56:15 +0000
(15:56 +0000)
src/net/ipv4.c
patch
|
blob
|
history
diff --git
a/src/net/ipv4.c
b/src/net/ipv4.c
index
05a0019
..
9e3ba47
100644
(file)
--- a/
src/net/ipv4.c
+++ b/
src/net/ipv4.c
@@
-414,9
+414,8
@@
static int ipv4_rx ( struct pk_buff *pkb, struct net_device *netdev __unused,
DBG ( "Bad checksum %x\n", chksum );
}
/* Fragment reassembly */
- if ( iphdr->frags & IP_MASK_MOREFRAGS ||
- ( !iphdr->frags & IP_MASK_MOREFRAGS &&
- iphdr->frags & IP_MASK_OFFSET != 0 ) ) {
+ if ( ( iphdr->frags & IP_MASK_MOREFRAGS ) ||
+ ( ( iphdr->frags & IP_MASK_OFFSET ) != 0 ) ) {
/* Pass the fragment to the reassembler ipv4_ressable() which
* either returns a fully reassembled packet buffer or NULL.
*/