Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 64791
b: refs/heads/master
c: ef8aef5
h: refs/heads/master
i:
  64789: 8eefe4c
  64787: ea9a09a
  64783: a5fe308
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Sep 11, 2007
1 parent adebb07 commit 9f0b537
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 2fbe43f6f631dd7ce19fb1499d6164a5bdb34568
refs/heads/master: ef8aef55ce61fd0e2af798695f7386ac756ae1e7
3 changes: 3 additions & 0 deletions trunk/net/core/datagram.c
Original file line number Diff line number Diff line change
Expand Up @@ -450,6 +450,9 @@ int skb_copy_and_csum_datagram_iovec(struct sk_buff *skb,
__wsum csum;
int chunk = skb->len - hlen;

if (!chunk)
return 0;

/* Skip filled elements.
* Pretty silly, look at memcpy_toiovec, though 8)
*/
Expand Down

0 comments on commit 9f0b537

Please sign in to comment.