Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 243710
b: refs/heads/master
c: 2fceec1
h: refs/heads/master
v: v3
  • Loading branch information
Ilpo Järvinen authored and David S. Miller committed Apr 2, 2011
1 parent f611c42 commit c3afccd
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 2cab86bee8e7f353e6ac8c15b3eb906643497644
refs/heads/master: 2fceec13375e5d98ef033c6b0ee03943fc460950
3 changes: 2 additions & 1 deletion trunk/net/ipv4/tcp_output.c
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,8 @@ int tcp_fragment(struct sock *sk, struct sk_buff *skb, u32 len,
int nlen;
u8 flags;

BUG_ON(len > skb->len);
if (WARN_ON(len > skb->len))
return -EINVAL;

nsize = skb_headlen(skb) - len;
if (nsize < 0)
Expand Down

0 comments on commit c3afccd

Please sign in to comment.