]> git.baikalelectronics.ru Git - kernel.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)
commitafddba5ba4abad8b964cab9a29893dabbd8a27c4
tree68362919c4ba243fa20d31fb35e9f485e1b024bc
parentd639a26e2467286ff7ca4332d91ac812c5fa2966
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