]> git.baikalelectronics.ru Git - kernel.git/commit
tipc: add dst_cache support for udp media
authorXin Long <lucien.xin@gmail.com>
Thu, 20 Jun 2019 11:03:41 +0000 (19:03 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jun 2019 05:36:57 +0000 (22:36 -0700)
commit81bcb10e4778c49cf67dd85cbf5553d1e5660c80
treec210981a6790a78bd55d46ff126d8d8db3e983ef
parentd031da889e60edb9908b5f4202ffafc1bebad540
tipc: add dst_cache support for udp media

As other udp/ip tunnels do, tipc udp media should also have a
lockless dst_cache supported on its tx path.

Here we add dst_cache into udp_replicast to support dst cache
for both rmcast and rcast, and rmcast uses ub->rcast and each
rcast uses its own node in ub->rcast.list.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/tipc/udp_media.c