]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
tipc: eliminate redundant buffer cloning at transmission
authorJon Paul Maloy <jon.maloy@ericsson.com>
Thu, 22 Oct 2015 12:51:45 +0000 (08:51 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 24 Oct 2015 13:56:44 +0000 (06:56 -0700)
commit7214bcf8753109256d635ba079938fbd6fcf713b
tree68362919c4ba243fa20d31fb35e9f485e1b024bc
parent60852d679575b0d7ce62497938116f92654ae908
tipc: eliminate redundant buffer cloning at transmission

Since all packet transmitters (link, bcast, discovery) are now sending
consumable buffer clones to the bearer layer, we can remove the
redundant buffer cloning that is perfomed in the lower level functions
tipc_l2_send_msg() and tipc_udp_send_msg().

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>
net/tipc/bearer.c
net/tipc/udp_media.c