Thread (16 messages) flat view 16 messages, 5 authors, 2018-01-18

Re: [PATCH net-next] kcm: do not attach sockets if sk_user_data is already used

From: Eric Dumazet <hidden>
Date: 2018-01-16 17:11:01

On Tue, 2018-01-16 at 11:44 +0100, Guillaume Nault wrote:
Tom, if I understand KCM correctly, it only makes sense to attach it to
SOCK_STREAM sockets. Shouldn't that be enforced? Maybe we should
restrict it even further, so that only known KCM-safe sockets could be
attached (that is, reject anything that isn't AF_INET* | SOCK_STREAM).

I believe I asked the same question months ago. I had no answer.

https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git/comm
it/?id=351050ecd6523374b370341cc29fe61e2201556b

Not sure if anyone uses KCM, other than fuzzers ?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help