]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
ipmr, ip6mr: Unite creation of new mr_table
authorYuval Mintz <yuvalm@mellanox.com>
Wed, 28 Feb 2018 21:29:33 +0000 (23:29 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Mar 2018 18:13:23 +0000 (13:13 -0500)
commit0bbbf0e7d0e7ea8267836986346a9b3a35b74e4e
tree4a7f295d9179f46de5181dab1501b423d9a6c23e
parentb70432f7319eb75b24ca57dde8146c5e27244780
ipmr, ip6mr: Unite creation of new mr_table

Now that both ipmr and ip6mr are using the same mr_table structure,
we can have a common function to allocate & initialize a new instance.

Signed-off-by: Yuval Mintz <yuvalm@mellanox.com>
Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mroute_base.h
net/ipv4/ipmr.c
net/ipv4/ipmr_base.c
net/ipv6/ip6mr.c