]> 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)
commit8a33e5a87ce1067af9ad76ecdce98bdb9bbe1924
tree68362919c4ba243fa20d31fb35e9f485e1b024bc
parentb18d2147ed4efdfba44940125f0d0ab62d08aee7
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