Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90725
b: refs/heads/master
c: 7a8036c
h: refs/heads/master
i:
  90723: 3a385f4
v: v3
  • Loading branch information
Allan Stephens authored and David S. Miller committed Apr 15, 2008
1 parent 6ba15f8 commit e52baa7
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: a198d3a200313bca8261e30e6daaad790937fd7e
refs/heads/master: 7a8036c2b93c8301afce8f75ac099c347bad569d
2 changes: 1 addition & 1 deletion trunk/net/tipc/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,7 @@ static int recv_stream(struct kiocb *iocb, struct socket *sock,

if (!err) {
buf_crs = (unsigned char *)(TIPC_SKB_CB(buf)->handle);
sz = skb_tail_pointer(buf) - buf_crs;
sz = (unsigned char *)msg + msg_size(msg) - buf_crs;

needed = (buf_len - sz_copied);
sz_to_copy = (sz <= needed) ? sz : needed;
Expand Down

0 comments on commit e52baa7

Please sign in to comment.