]> git.baikalelectronics.ru Git - kernel.git/commit
net/smc: Add netlink net namespace support
authorTony Lu <tonylu@linux.alibaba.com>
Tue, 28 Dec 2021 13:06:10 +0000 (21:06 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 2 Jan 2022 12:07:39 +0000 (12:07 +0000)
commit2afa1378bbb5175cef2714601164d9fa1311797d
treef85d05a7cd1723eac013b692a79101aa684cb529
parentab4dfddf97e10628323cd3342c964de7be9cbd8c
net/smc: Add netlink net namespace support

This adds net namespace ID to diag of linkgroup, helps us to distinguish
different namespaces, and net_cookie is unique in the whole system.

Signed-off-by: Tony Lu <tonylu@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/smc.h
include/uapi/linux/smc_diag.h
net/smc/smc_core.c
net/smc/smc_diag.c