diff options
author | Jon Paul Maloy <jon.maloy@ericsson.com> | 2015-10-22 08:51:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-24 06:56:44 -0700 |
commit | 60852d679575b0d7ce62497938116f92654ae908 (patch) | |
tree | 767fe010b1c9e2c96d6c23dd91d652386a1a3ec7 /fs/ecryptfs | |
parent | 959e1781aa230aecc90e4deb80117fd9a53dede7 (diff) | |
download | linux-stable-60852d679575b0d7ce62497938116f92654ae908.tar.gz linux-stable-60852d679575b0d7ce62497938116f92654ae908.tar.bz2 linux-stable-60852d679575b0d7ce62497938116f92654ae908.zip |
tipc: let neighbor discoverer tranmsit consumable buffers
The neighbor discovery function currently uses the function
tipc_bearer_send() for transmitting packets, assuming that the
sent buffers are not consumed by the called function.
We want to change this, in order to avoid unnecessary buffer cloning
elswhere in the code.
This commit introduces a new function tipc_bearer_skb() which consumes
the sent buffers, and let the discoverer functions use this new call
instead. The discoverer does now itself perform the cloning when
that is necessary.
Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Reviewed-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/ecryptfs')
0 files changed, 0 insertions, 0 deletions