Jon Paul Maloy
c1336ee472
tipc: extract bundled buffers by cloning instead of copying
...
When we currently extract a bundled buffer from a message bundle in
the function tipc_msg_extract(), we allocate a new buffer and explicitly
copy the linear data area.
This is unnecessary, since we can just clone the buffer and do
skb_pull() on the clone to move the data pointer to the correct
position.
This is what we do in this commit.
Reviewed-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-03-14 14:38:32 -04:00
..
2015-02-14 23:08:44 +01:00
2015-03-12 14:39:40 -04:00
2015-03-02 16:43:41 -05:00
2015-03-03 17:01:37 -05:00
2015-03-03 17:01:37 -05:00
2015-03-03 17:01:37 -05:00
2015-03-05 13:17:39 -05:00
2015-02-22 17:00:08 -05:00
2015-03-14 14:29:45 -04:00
2015-03-10 15:03:02 +01:00
2015-03-03 21:16:48 -05:00
2015-03-09 23:38:02 -04:00
2015-02-19 14:14:42 -08:00
2015-03-12 22:58:13 -04:00
2015-03-06 21:50:02 -05:00
2015-03-12 22:58:13 -04:00
2015-03-09 16:06:10 -04:00
2015-03-11 17:56:29 -04:00
2015-03-03 17:01:38 -05:00
2015-03-01 13:40:23 -05:00
2015-03-14 17:11:31 +01:00
2015-03-13 01:57:07 -04:00
2015-03-12 22:58:13 -04:00
2015-03-02 13:06:31 -05:00
2015-03-09 23:38:02 -04:00
2015-03-02 13:06:31 -05:00
2015-03-02 13:06:31 -05:00
2015-03-03 17:01:38 -05:00
2015-03-02 13:06:31 -05:00
2015-03-03 21:16:48 -05:00
2015-03-14 17:11:30 +01:00
2015-03-12 23:05:04 -04:00
2015-03-09 23:38:02 -04:00
2015-02-11 20:25:11 -08:00
2015-03-03 21:16:48 -05:00
2015-03-02 16:43:41 -05:00
2015-03-02 13:06:31 -05:00
2015-03-12 14:39:40 -04:00
2015-03-12 14:39:40 -04:00
2015-03-02 13:06:31 -05:00
2015-03-02 13:06:31 -05:00
2015-02-04 14:57:45 -08:00
2015-03-02 16:43:41 -05:00
2015-03-09 23:38:02 -04:00
2015-03-12 18:33:15 -04:00
2015-03-02 13:06:31 -05:00
2015-03-08 12:53:46 -07:00
2015-03-11 23:06:39 -04:00
2015-03-14 14:38:32 -04:00
2015-03-02 13:06:31 -05:00
2015-03-02 13:06:31 -05:00
2015-03-03 21:16:48 -05:00
2015-03-02 13:06:31 -05:00
2015-01-18 01:03:45 -05:00
2015-03-03 21:16:48 -05:00
2015-01-07 13:08:04 +01:00
2015-03-04 00:26:06 -05:00
2015-03-02 13:06:31 -05:00