Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 211407
b: refs/heads/master
c: 4e18b3e
h: refs/heads/master
i:
  211405: cecfcd3
  211403: e6ebe6b
  211399: b7f1f1b
  211391: 6111985
v: v3
  • Loading branch information
Dan Carpenter authored and David S. Miller committed Oct 5, 2010
1 parent 096a55b commit e8d6634
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: 51e97a12bef19b7e43199fc153cf9bd5f2140362
refs/heads/master: 4e18b3edf71f5d4ad653e3c2ff6560878e965f96
2 changes: 1 addition & 1 deletion trunk/net/sched/cls_u32.c
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ static int u32_classify(struct sk_buff *skb, struct tcf_proto *tp, struct tcf_re
int toff = off + key->off + (off2 & key->offmask);
__be32 *data, _data;

if (skb_headroom(skb) + toff < 0)
if (skb_headroom(skb) + toff > INT_MAX)
goto out;

data = skb_header_pointer(skb, toff, 4, &_data);
Expand Down

0 comments on commit e8d6634

Please sign in to comment.