Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6390
b: refs/heads/master
c: e9c6042
h: refs/heads/master
v: v3
  • Loading branch information
Thomas Graf authored and David S. Miller committed Aug 29, 2005
1 parent 0c0142c commit a9d1c3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 58615242417638794a5ba299c49e3fbd6f47c2a3
refs/heads/master: e9c604227391308b185aa6b14c7f93b0a0c2e51b
2 changes: 1 addition & 1 deletion trunk/net/ipv4/ip_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,

iph = skb->nh.iph;

if (ip_fast_csum((u8 *)iph, iph->ihl) != 0)
if (unlikely(ip_fast_csum((u8 *)iph, iph->ihl)))
goto inhdr_error;

len = ntohs(iph->tot_len);
Expand Down

0 comments on commit a9d1c3a

Please sign in to comment.