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)
commite9c1a793210f29f32ee4cf048e04d7d9bb3221cc
treec210981a6790a78bd55d46ff126d8d8db3e983ef
parentd96ff269a04be286989ead13bf8b4be55bdee8ee
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