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)
commit79d39fc503b43b566feae5bc9a57dfcffdf41bd1
treef85d05a7cd1723eac013b692a79101aa684cb529
parent0237a3a683e4844ddc52782d83d439d6192e11f9
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