mctp: Populate socket implementation
authorJeremy Kerr <jk@codeconstruct.com.au>
Thu, 29 Jul 2021 02:20:49 +0000 (10:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Jul 2021 14:06:50 +0000 (15:06 +0100)
commit833ef3b91de692ef33b800bca6b1569c39dece74
treeff450c69b1a4b9c9d8ff83d832e870461c546f69
parent831119f8878173adbf31f1151adf0f4627c05e01
mctp: Populate socket implementation

Start filling-out the socket syscalls: bind, sendmsg & recvmsg.

This requires an input route implementation, so we add to
mctp_route_input, allowing lookups on binds & message tags. This just
handles single-packet messages at present, we will add fragmentation in
a future change.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/mctp.h
include/net/netns/mctp.h
net/mctp/af_mctp.c
net/mctp/route.c