]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
net: add a new bind_add method
authorChristoph Hellwig <hch@lst.de>
Fri, 29 May 2020 12:09:42 +0000 (14:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 May 2020 20:10:39 +0000 (13:10 -0700)
commitc0425a4249e9d313eec5f81c0bde8a286ebf9a63
treedbe8e82ca86e471956cef038764adb299270b0ef
parent05bfd3661448a46db3a258b316160d34cf0a1317
net: add a new bind_add method

The SCTP protocol allows to bind multiple address to a socket.  That
feature is currently only exposed as a socket option.  Add a bind_add
method struct proto that allows to bind additional addresses, and
switch the dlm code to use the method instead of going through the
socket option from kernel space.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
fs/dlm/lowcomms.c
include/net/sock.h
net/core/sock.c
net/sctp/socket.c