aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/tcp_ipv6.c
diff options
context:
space:
mode:
authorOliver Hartkopp <[email protected]>2020-12-04 13:35:07 +0000
committerJakub Kicinski <[email protected]>2020-12-09 16:44:15 +0000
commit323a391a220c4a234cb1e678689d7f4c3b73f863 (patch)
treeae1119b3b9aa3c23f04c86be82de789f687e9626 /net/ipv6/tcp_ipv6.c
parenttcp: select sane initial rcvq_space.space for big MSS (diff)
downloadkernel-323a391a220c4a234cb1e678689d7f4c3b73f863.tar.gz
kernel-323a391a220c4a234cb1e678689d7f4c3b73f863.zip
can: isotp: isotp_setsockopt(): block setsockopt on bound sockets
The isotp socket can be widely configured in its behaviour regarding addressing types, fill-ups, receive pattern tests and link layer length. Usually all these settings need to be fixed before bind() and can not be changed afterwards. This patch adds a check to enforce the common usage pattern. Fixes: e057dd3fc20f ("can: add ISO 15765-2:2016 transport protocol") Signed-off-by: Oliver Hartkopp <[email protected]> Tested-by: Thomas Wagner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions