2011-05-21 02:46:11 +08:00
|
|
|
/*
|
2017-06-18 21:37:27 +08:00
|
|
|
* Copyright (c) 2017 Mellanox Technologies Inc. All rights reserved.
|
2011-05-21 02:46:11 +08:00
|
|
|
* Copyright (c) 2010 Voltaire Inc. All rights reserved.
|
|
|
|
*
|
|
|
|
* This software is available to you under a choice of one of two
|
|
|
|
* licenses. You may choose to be licensed under the terms of the GNU
|
|
|
|
* General Public License (GPL) Version 2, available from the file
|
|
|
|
* COPYING in the main directory of this source tree, or the
|
|
|
|
* OpenIB.org BSD license below:
|
|
|
|
*
|
|
|
|
* Redistribution and use in source and binary forms, with or
|
|
|
|
* without modification, are permitted provided that the following
|
|
|
|
* conditions are met:
|
|
|
|
*
|
|
|
|
* - Redistributions of source code must retain the above
|
|
|
|
* copyright notice, this list of conditions and the following
|
|
|
|
* disclaimer.
|
|
|
|
*
|
|
|
|
* - Redistributions in binary form must reproduce the above
|
|
|
|
* copyright notice, this list of conditions and the following
|
|
|
|
* disclaimer in the documentation and/or other materials
|
|
|
|
* provided with the distribution.
|
|
|
|
*
|
|
|
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
|
|
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
|
|
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
|
|
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
|
|
|
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
|
|
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
|
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
|
* SOFTWARE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define pr_fmt(fmt) "%s:%s: " fmt, KBUILD_MODNAME, __func__
|
|
|
|
|
2011-05-28 03:29:33 +08:00
|
|
|
#include <linux/export.h>
|
2011-05-21 02:46:11 +08:00
|
|
|
#include <net/netlink.h>
|
|
|
|
#include <net/net_namespace.h>
|
2019-07-23 15:02:05 +08:00
|
|
|
#include <net/netns/generic.h>
|
2011-05-21 02:46:11 +08:00
|
|
|
#include <net/sock.h>
|
|
|
|
#include <rdma/rdma_netlink.h>
|
2017-08-15 04:57:38 +08:00
|
|
|
#include <linux/module.h>
|
2017-05-14 20:49:57 +08:00
|
|
|
#include "core_priv.h"
|
2011-05-21 02:46:11 +08:00
|
|
|
|
2017-06-05 15:20:11 +08:00
|
|
|
static struct {
|
2019-10-15 16:07:33 +08:00
|
|
|
const struct rdma_nl_cbs *cb_table;
|
|
|
|
/* Synchronizes between ongoing netlink commands and netlink client
|
|
|
|
* unregistration.
|
|
|
|
*/
|
|
|
|
struct rw_semaphore sem;
|
2017-06-05 15:20:11 +08:00
|
|
|
} rdma_nl_types[RDMA_NL_NUM_CLIENTS];
|
2011-05-21 02:46:11 +08:00
|
|
|
|
2018-10-02 16:49:24 +08:00
|
|
|
bool rdma_nl_chk_listeners(unsigned int group)
|
2015-08-14 20:52:07 +08:00
|
|
|
{
|
2019-07-23 15:02:05 +08:00
|
|
|
struct rdma_dev_net *rnet = rdma_net_to_dev_net(&init_net);
|
|
|
|
|
|
|
|
return netlink_has_listeners(rnet->nl_sock, group);
|
2015-08-14 20:52:07 +08:00
|
|
|
}
|
2017-06-18 20:51:16 +08:00
|
|
|
EXPORT_SYMBOL(rdma_nl_chk_listeners);
|
2015-08-14 20:52:07 +08:00
|
|
|
|
2017-06-05 15:20:11 +08:00
|
|
|
static bool is_nl_msg_valid(unsigned int type, unsigned int op)
|
2011-05-21 02:46:11 +08:00
|
|
|
{
|
2017-09-08 18:02:26 +08:00
|
|
|
static const unsigned int max_num_ops[RDMA_NL_NUM_CLIENTS] = {
|
2017-09-09 01:17:20 +08:00
|
|
|
[RDMA_NL_IWCM] = RDMA_NL_IWPM_NUM_OPS,
|
|
|
|
[RDMA_NL_LS] = RDMA_NL_LS_NUM_OPS,
|
|
|
|
[RDMA_NL_NLDEV] = RDMA_NLDEV_NUM_OPS,
|
|
|
|
};
|
2011-05-21 02:46:11 +08:00
|
|
|
|
2017-06-05 15:20:11 +08:00
|
|
|
/*
|
|
|
|
* This BUILD_BUG_ON is intended to catch addition of new
|
|
|
|
* RDMA netlink protocol without updating the array above.
|
|
|
|
*/
|
|
|
|
BUILD_BUG_ON(RDMA_NL_NUM_CLIENTS != 6);
|
2011-05-21 02:46:11 +08:00
|
|
|
|
2017-09-08 18:02:26 +08:00
|
|
|
if (type >= RDMA_NL_NUM_CLIENTS)
|
2017-06-05 15:20:11 +08:00
|
|
|
return false;
|
2011-05-21 02:46:11 +08:00
|
|
|
|
2023-07-31 16:51:18 +08:00
|
|
|
return op < max_num_ops[type];
|
2017-06-05 15:20:11 +08:00
|
|
|
}
|
2011-05-21 02:46:11 +08:00
|
|
|
|
2019-10-15 16:07:33 +08:00
|
|
|
static const struct rdma_nl_cbs *
|
|
|
|
get_cb_table(const struct sk_buff *skb, unsigned int type, unsigned int op)
|
2017-06-05 15:20:11 +08:00
|
|
|
{
|
2017-06-15 17:46:33 +08:00
|
|
|
const struct rdma_nl_cbs *cb_table;
|
|
|
|
|
2019-07-23 15:02:05 +08:00
|
|
|
/*
|
|
|
|
* Currently only NLDEV client is supporting netlink commands in
|
|
|
|
* non init_net net namespace.
|
|
|
|
*/
|
|
|
|
if (sock_net(skb->sk) != &init_net && type != RDMA_NL_NLDEV)
|
2019-10-15 16:07:33 +08:00
|
|
|
return NULL;
|
2019-07-23 15:02:05 +08:00
|
|
|
|
2019-10-15 16:07:33 +08:00
|
|
|
cb_table = READ_ONCE(rdma_nl_types[type].cb_table);
|
|
|
|
if (!cb_table) {
|
|
|
|
/*
|
|
|
|
* Didn't get valid reference of the table, attempt module
|
|
|
|
* load once.
|
|
|
|
*/
|
|
|
|
up_read(&rdma_nl_types[type].sem);
|
2018-01-01 19:07:12 +08:00
|
|
|
|
2021-06-10 19:40:32 +08:00
|
|
|
request_module("rdma-netlink-subsys-%u", type);
|
2017-08-15 04:57:39 +08:00
|
|
|
|
2019-10-15 16:07:33 +08:00
|
|
|
down_read(&rdma_nl_types[type].sem);
|
|
|
|
cb_table = READ_ONCE(rdma_nl_types[type].cb_table);
|
|
|
|
}
|
2017-06-15 17:46:33 +08:00
|
|
|
if (!cb_table || (!cb_table[op].dump && !cb_table[op].doit))
|
2019-10-15 16:07:33 +08:00
|
|
|
return NULL;
|
|
|
|
return cb_table;
|
2017-06-05 15:20:11 +08:00
|
|
|
}
|
2011-05-21 02:46:11 +08:00
|
|
|
|
2017-06-05 15:20:11 +08:00
|
|
|
void rdma_nl_register(unsigned int index,
|
2017-06-19 23:23:45 +08:00
|
|
|
const struct rdma_nl_cbs cb_table[])
|
2017-06-05 15:20:11 +08:00
|
|
|
{
|
2019-10-15 16:07:33 +08:00
|
|
|
if (WARN_ON(!is_nl_msg_valid(index, 0)) ||
|
|
|
|
WARN_ON(READ_ONCE(rdma_nl_types[index].cb_table)))
|
2017-06-05 15:20:11 +08:00
|
|
|
return;
|
2011-05-21 02:46:11 +08:00
|
|
|
|
2019-10-15 16:07:33 +08:00
|
|
|
/* Pairs with the READ_ONCE in is_nl_valid() */
|
|
|
|
smp_store_release(&rdma_nl_types[index].cb_table, cb_table);
|
2011-05-21 02:46:11 +08:00
|
|
|
}
|
2017-06-05 15:20:11 +08:00
|
|
|
EXPORT_SYMBOL(rdma_nl_register);
|
2011-05-21 02:46:11 +08:00
|
|
|
|
2017-06-05 15:20:11 +08:00
|
|
|
void rdma_nl_unregister(unsigned int index)
|
2011-05-21 02:46:11 +08:00
|
|
|
{
|
2019-10-15 16:07:33 +08:00
|
|
|
down_write(&rdma_nl_types[index].sem);
|
2017-06-05 15:20:11 +08:00
|
|
|
rdma_nl_types[index].cb_table = NULL;
|
2019-10-15 16:07:33 +08:00
|
|
|
up_write(&rdma_nl_types[index].sem);
|
2011-05-21 02:46:11 +08:00
|
|
|
}
|
2017-06-05 15:20:11 +08:00
|
|
|
EXPORT_SYMBOL(rdma_nl_unregister);
|
2011-05-21 02:46:11 +08:00
|
|
|
|
|
|
|
void *ibnl_put_msg(struct sk_buff *skb, struct nlmsghdr **nlh, int seq,
|
2014-03-27 06:07:35 +08:00
|
|
|
int len, int client, int op, int flags)
|
2011-05-21 02:46:11 +08:00
|
|
|
{
|
2017-06-18 21:38:04 +08:00
|
|
|
*nlh = nlmsg_put(skb, 0, seq, RDMA_NL_GET_TYPE(client, op), len, flags);
|
2012-06-27 12:43:19 +08:00
|
|
|
if (!*nlh)
|
2017-06-18 21:38:04 +08:00
|
|
|
return NULL;
|
2012-06-27 12:43:19 +08:00
|
|
|
return nlmsg_data(*nlh);
|
2011-05-21 02:46:11 +08:00
|
|
|
}
|
|
|
|
EXPORT_SYMBOL(ibnl_put_msg);
|
|
|
|
|
|
|
|
int ibnl_put_attr(struct sk_buff *skb, struct nlmsghdr *nlh,
|
|
|
|
int len, void *data, int type)
|
|
|
|
{
|
2017-06-18 21:38:04 +08:00
|
|
|
if (nla_put(skb, type, len, data)) {
|
|
|
|
nlmsg_cancel(skb, nlh);
|
|
|
|
return -EMSGSIZE;
|
|
|
|
}
|
2011-05-21 02:46:11 +08:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
EXPORT_SYMBOL(ibnl_put_attr);
|
|
|
|
|
2017-06-08 14:05:12 +08:00
|
|
|
static int rdma_nl_rcv_msg(struct sk_buff *skb, struct nlmsghdr *nlh,
|
|
|
|
struct netlink_ext_ack *extack)
|
2011-05-21 02:46:11 +08:00
|
|
|
{
|
|
|
|
int type = nlh->nlmsg_type;
|
2017-06-05 15:20:11 +08:00
|
|
|
unsigned int index = RDMA_NL_GET_CLIENT(type);
|
2016-05-07 03:45:25 +08:00
|
|
|
unsigned int op = RDMA_NL_GET_OP(type);
|
2017-06-15 18:14:13 +08:00
|
|
|
const struct rdma_nl_cbs *cb_table;
|
2019-10-15 16:07:33 +08:00
|
|
|
int err = -EINVAL;
|
2011-05-21 02:46:11 +08:00
|
|
|
|
2019-10-15 16:07:33 +08:00
|
|
|
if (!is_nl_msg_valid(index, op))
|
2017-06-05 15:20:11 +08:00
|
|
|
return -EINVAL;
|
|
|
|
|
2019-10-15 16:07:33 +08:00
|
|
|
down_read(&rdma_nl_types[index].sem);
|
|
|
|
cb_table = get_cb_table(skb, index, op);
|
|
|
|
if (!cb_table)
|
|
|
|
goto done;
|
2017-06-15 18:14:13 +08:00
|
|
|
|
|
|
|
if ((cb_table[op].flags & RDMA_NL_ADMIN_PERM) &&
|
2019-10-15 16:07:33 +08:00
|
|
|
!netlink_capable(skb, CAP_NET_ADMIN)) {
|
|
|
|
err = -EPERM;
|
|
|
|
goto done;
|
|
|
|
}
|
2017-06-12 21:00:19 +08:00
|
|
|
|
2017-10-24 20:41:01 +08:00
|
|
|
/*
|
|
|
|
* LS responses overload the 0x100 (NLM_F_ROOT) flag. Don't
|
|
|
|
* mistakenly call the .dump() function.
|
|
|
|
*/
|
|
|
|
if (index == RDMA_NL_LS) {
|
|
|
|
if (cb_table[op].doit)
|
2019-10-15 16:07:33 +08:00
|
|
|
err = cb_table[op].doit(skb, nlh, extack);
|
|
|
|
goto done;
|
2017-10-24 20:41:01 +08:00
|
|
|
}
|
2017-06-15 19:20:39 +08:00
|
|
|
/* FIXME: Convert IWCM to properly handle doit callbacks */
|
2019-01-16 15:55:41 +08:00
|
|
|
if ((nlh->nlmsg_flags & NLM_F_DUMP) || index == RDMA_NL_IWCM) {
|
2017-06-15 19:20:39 +08:00
|
|
|
struct netlink_dump_control c = {
|
|
|
|
.dump = cb_table[op].dump,
|
|
|
|
};
|
2017-10-24 20:41:01 +08:00
|
|
|
if (c.dump)
|
2019-10-15 16:07:33 +08:00
|
|
|
err = netlink_dump_start(skb->sk, skb, nlh, &c);
|
|
|
|
goto done;
|
2011-05-21 02:46:11 +08:00
|
|
|
}
|
2017-06-15 19:20:39 +08:00
|
|
|
|
2017-06-15 18:14:13 +08:00
|
|
|
if (cb_table[op].doit)
|
2019-10-15 16:07:33 +08:00
|
|
|
err = cb_table[op].doit(skb, nlh, extack);
|
|
|
|
done:
|
|
|
|
up_read(&rdma_nl_types[index].sem);
|
|
|
|
return err;
|
2011-05-21 02:46:11 +08:00
|
|
|
}
|
|
|
|
|
2017-06-08 14:05:12 +08:00
|
|
|
/*
|
|
|
|
* This function is similar to netlink_rcv_skb with one exception:
|
|
|
|
* It calls to the callback for the netlink messages without NLM_F_REQUEST
|
|
|
|
* flag. These messages are intended for RDMA_NL_LS consumer, so it is allowed
|
|
|
|
* for that consumer only.
|
|
|
|
*/
|
|
|
|
static int rdma_nl_rcv_skb(struct sk_buff *skb, int (*cb)(struct sk_buff *,
|
|
|
|
struct nlmsghdr *,
|
|
|
|
struct netlink_ext_ack *))
|
2015-08-14 20:52:07 +08:00
|
|
|
{
|
2017-06-08 14:05:12 +08:00
|
|
|
struct netlink_ext_ack extack = {};
|
2015-08-14 20:52:07 +08:00
|
|
|
struct nlmsghdr *nlh;
|
2017-06-08 14:05:12 +08:00
|
|
|
int err;
|
2015-08-14 20:52:07 +08:00
|
|
|
|
|
|
|
while (skb->len >= nlmsg_total_size(0)) {
|
2017-06-08 14:05:12 +08:00
|
|
|
int msglen;
|
|
|
|
|
2015-08-14 20:52:07 +08:00
|
|
|
nlh = nlmsg_hdr(skb);
|
2017-06-08 14:05:12 +08:00
|
|
|
err = 0;
|
2015-08-14 20:52:07 +08:00
|
|
|
|
|
|
|
if (nlh->nlmsg_len < NLMSG_HDRLEN || skb->len < nlh->nlmsg_len)
|
2017-06-08 14:05:12 +08:00
|
|
|
return 0;
|
2015-08-14 20:52:07 +08:00
|
|
|
|
2017-06-08 14:05:12 +08:00
|
|
|
/*
|
|
|
|
* Generally speaking, the only requests are handled
|
|
|
|
* by the kernel, but RDMA_NL_LS is different, because it
|
|
|
|
* runs backward netlink scheme. Kernel initiates messages
|
|
|
|
* and waits for reply with data to keep pathrecord cache
|
|
|
|
* in sync.
|
|
|
|
*/
|
|
|
|
if (!(nlh->nlmsg_flags & NLM_F_REQUEST) &&
|
|
|
|
(RDMA_NL_GET_CLIENT(nlh->nlmsg_type) != RDMA_NL_LS))
|
|
|
|
goto ack;
|
|
|
|
|
|
|
|
/* Skip control messages */
|
|
|
|
if (nlh->nlmsg_type < NLMSG_MIN_TYPE)
|
|
|
|
goto ack;
|
2015-08-14 20:52:07 +08:00
|
|
|
|
2017-06-08 14:05:12 +08:00
|
|
|
err = cb(skb, nlh, &extack);
|
|
|
|
if (err == -EINTR)
|
|
|
|
goto skip;
|
2015-08-14 20:52:07 +08:00
|
|
|
|
2017-06-08 14:05:12 +08:00
|
|
|
ack:
|
|
|
|
if (nlh->nlmsg_flags & NLM_F_ACK || err)
|
|
|
|
netlink_ack(skb, nlh, err, &extack);
|
|
|
|
|
|
|
|
skip:
|
2015-08-14 20:52:07 +08:00
|
|
|
msglen = NLMSG_ALIGN(nlh->nlmsg_len);
|
|
|
|
if (msglen > skb->len)
|
|
|
|
msglen = skb->len;
|
|
|
|
skb_pull(skb, msglen);
|
|
|
|
}
|
2017-06-08 14:05:12 +08:00
|
|
|
|
|
|
|
return 0;
|
2015-08-14 20:52:07 +08:00
|
|
|
}
|
|
|
|
|
2017-06-08 14:05:12 +08:00
|
|
|
static void rdma_nl_rcv(struct sk_buff *skb)
|
2011-05-21 02:46:11 +08:00
|
|
|
{
|
2017-06-08 14:05:12 +08:00
|
|
|
rdma_nl_rcv_skb(skb, &rdma_nl_rcv_msg);
|
2011-05-21 02:46:11 +08:00
|
|
|
}
|
|
|
|
|
2019-07-23 15:02:05 +08:00
|
|
|
int rdma_nl_unicast(struct net *net, struct sk_buff *skb, u32 pid)
|
2014-03-27 06:07:35 +08:00
|
|
|
{
|
2019-07-23 15:02:05 +08:00
|
|
|
struct rdma_dev_net *rnet = rdma_net_to_dev_net(net);
|
2016-07-29 04:02:26 +08:00
|
|
|
int err;
|
|
|
|
|
2019-07-23 15:02:05 +08:00
|
|
|
err = netlink_unicast(rnet->nl_sock, skb, pid, MSG_DONTWAIT);
|
2016-07-29 04:02:26 +08:00
|
|
|
return (err < 0) ? err : 0;
|
2014-03-27 06:07:35 +08:00
|
|
|
}
|
2017-06-18 20:35:20 +08:00
|
|
|
EXPORT_SYMBOL(rdma_nl_unicast);
|
2014-03-27 06:07:35 +08:00
|
|
|
|
2019-07-23 15:02:05 +08:00
|
|
|
int rdma_nl_unicast_wait(struct net *net, struct sk_buff *skb, __u32 pid)
|
2017-06-28 22:02:45 +08:00
|
|
|
{
|
2019-07-23 15:02:05 +08:00
|
|
|
struct rdma_dev_net *rnet = rdma_net_to_dev_net(net);
|
2017-06-28 22:02:45 +08:00
|
|
|
int err;
|
|
|
|
|
2019-07-23 15:02:05 +08:00
|
|
|
err = netlink_unicast(rnet->nl_sock, skb, pid, 0);
|
2017-06-28 22:02:45 +08:00
|
|
|
return (err < 0) ? err : 0;
|
|
|
|
}
|
2017-06-18 20:35:20 +08:00
|
|
|
EXPORT_SYMBOL(rdma_nl_unicast_wait);
|
2017-06-28 22:02:45 +08:00
|
|
|
|
2019-07-23 15:02:05 +08:00
|
|
|
int rdma_nl_multicast(struct net *net, struct sk_buff *skb,
|
|
|
|
unsigned int group, gfp_t flags)
|
2014-03-27 06:07:35 +08:00
|
|
|
{
|
2019-07-23 15:02:05 +08:00
|
|
|
struct rdma_dev_net *rnet = rdma_net_to_dev_net(net);
|
|
|
|
|
|
|
|
return nlmsg_multicast(rnet->nl_sock, skb, 0, group, flags);
|
2014-03-27 06:07:35 +08:00
|
|
|
}
|
2017-06-18 20:44:32 +08:00
|
|
|
EXPORT_SYMBOL(rdma_nl_multicast);
|
2014-03-27 06:07:35 +08:00
|
|
|
|
2019-10-15 16:07:33 +08:00
|
|
|
void rdma_nl_init(void)
|
|
|
|
{
|
|
|
|
int idx;
|
|
|
|
|
|
|
|
for (idx = 0; idx < RDMA_NL_NUM_CLIENTS; idx++)
|
|
|
|
init_rwsem(&rdma_nl_types[idx].sem);
|
|
|
|
}
|
|
|
|
|
2019-07-23 15:02:05 +08:00
|
|
|
void rdma_nl_exit(void)
|
|
|
|
{
|
|
|
|
int idx;
|
|
|
|
|
|
|
|
for (idx = 0; idx < RDMA_NL_NUM_CLIENTS; idx++)
|
|
|
|
WARN(rdma_nl_types[idx].cb_table,
|
2019-07-31 16:01:44 +08:00
|
|
|
"Netlink client %d wasn't released prior to unloading %s\n",
|
2019-07-23 15:02:05 +08:00
|
|
|
idx, KBUILD_MODNAME);
|
|
|
|
}
|
|
|
|
|
|
|
|
int rdma_nl_net_init(struct rdma_dev_net *rnet)
|
2011-05-21 02:46:11 +08:00
|
|
|
{
|
2019-07-23 15:02:05 +08:00
|
|
|
struct net *net = read_pnet(&rnet->net);
|
2012-06-29 14:15:21 +08:00
|
|
|
struct netlink_kernel_cfg cfg = {
|
2017-06-08 14:05:12 +08:00
|
|
|
.input = rdma_nl_rcv,
|
2012-06-29 14:15:21 +08:00
|
|
|
};
|
2019-07-23 15:02:05 +08:00
|
|
|
struct sock *nls;
|
2012-06-29 14:15:21 +08:00
|
|
|
|
2019-07-23 15:02:05 +08:00
|
|
|
nls = netlink_kernel_create(net, NETLINK_RDMA, &cfg);
|
2017-06-05 15:20:11 +08:00
|
|
|
if (!nls)
|
2011-05-21 02:46:11 +08:00
|
|
|
return -ENOMEM;
|
|
|
|
|
2016-07-29 04:02:26 +08:00
|
|
|
nls->sk_sndtimeo = 10 * HZ;
|
2019-07-23 15:02:05 +08:00
|
|
|
rnet->nl_sock = nls;
|
2011-05-21 02:46:11 +08:00
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2019-07-23 15:02:05 +08:00
|
|
|
void rdma_nl_net_exit(struct rdma_dev_net *rnet)
|
2011-05-21 02:46:11 +08:00
|
|
|
{
|
2019-07-23 15:02:05 +08:00
|
|
|
netlink_kernel_release(rnet->nl_sock);
|
2011-05-21 02:46:11 +08:00
|
|
|
}
|
2017-08-15 04:57:38 +08:00
|
|
|
|
|
|
|
MODULE_ALIAS_NET_PF_PROTO(PF_NETLINK, NETLINK_RDMA);
|