projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
[linux-2.6-microblaze.git]
/
include
/
linux
/
skmsg.h
diff --git
a/include/linux/skmsg.h
b/include/linux/skmsg.h
index
8a709f6
..
ad31c9f
100644
(file)
--- a/
include/linux/skmsg.h
+++ b/
include/linux/skmsg.h
@@
-187,6
+187,7
@@
static inline void sk_msg_xfer(struct sk_msg *dst, struct sk_msg *src,
dst->sg.data[which] = src->sg.data[which];
dst->sg.data[which].length = size;
dst->sg.size += size;
+ src->sg.size -= size;
src->sg.data[which].length -= size;
src->sg.data[which].offset += size;
}