]> git.baikalelectronics.ru Git - kernel.git/commit
ipv4: add ip_sock_set_freebind
authorChristoph Hellwig <hch@lst.de>
Thu, 28 May 2020 05:12:27 +0000 (07:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 May 2020 18:11:45 +0000 (11:11 -0700)
commit7f1658663cc190d77a668f012cc2a6b15a6f18fa
treea559ebc107bcfa1200b5f6120c99f9ce1163ad3d
parentd8fb1965d6f6cba49b4bc762cccea7b9a4897260
ipv4: add ip_sock_set_freebind

Add a helper to directly set the IP_FREEBIND sockopt from kernel space
without going through a fake uaccess.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/target/iscsi/iscsi_target_login.c
include/net/ip.h
net/ipv4/ip_sockglue.c