aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/Kconfig
diff options
context:
space:
mode:
authorJeremy Kerr <jk@codeconstruct.com.au>2021-10-26 09:57:28 +0800
committerDavid S. Miller <davem@davemloft.net>2021-10-26 14:58:45 +0100
commit99ce45d5e7dbde399997a630f45ac9f654fa4bcc (patch)
tree90da8fa27361a3ff0eba69e8a074a921d99f049f /drivers/net/Kconfig
parentnet: ax88796c: Remove pointless check in ax88796c_open() (diff)
downloadlinux-dev-99ce45d5e7dbde399997a630f45ac9f654fa4bcc.tar.xz
linux-dev-99ce45d5e7dbde399997a630f45ac9f654fa4bcc.zip
mctp: Implement extended addressing
This change allows an extended address struct - struct sockaddr_mctp_ext - to be passed to sendmsg/recvmsg. This allows userspace to specify output ifindex and physical address information (for sendmsg) or receive the input ifindex/physaddr for incoming messages (for recvmsg). This is typically used by userspace for MCTP address discovery and assignment operations. The extended addressing facility is conditional on a new sockopt: MCTP_OPT_ADDR_EXT; userspace must explicitly enable addressing before the kernel will consume/populate the extended address data. Includes a fix for an uninitialised var: Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/Kconfig')
0 files changed, 0 insertions, 0 deletions