OSDN Git Service

net: bridge: mcast: add wrappers for router node retrieval
authorLinus Lüssing <linus.luessing@c0d3.blue>
Thu, 13 May 2021 13:20:44 +0000 (15:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 May 2021 21:04:31 +0000 (14:04 -0700)
commit44ebb081dc6934e43d3c7444f183d6426adeca21
tree5c5376c638b5f5f03a905e083cb37301d84e6cc4
parentce6f709775bdf9bc8dd852a8758e10a98f31f280
net: bridge: mcast: add wrappers for router node retrieval

In preparation for the upcoming split of multicast router state into
their IPv4 and IPv6 variants and to avoid IPv6 #ifdef clutter later add
two wrapper functions for router node retrieval in the payload
forwarding code.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_forward.c
net/bridge/br_private.h