sctp: remove macros sctp_{lock|release}_sock
Redefined {lock|release}_sock to sctp_{lock|release}_sock for user space friendly code which we haven't use in years, so removing them. Signed-off-by: Wang Weidong <wangweidong1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
1b0de194f1
commit
048ed4b626
@@ -713,11 +713,11 @@ static void process_sctp_notification(struct connection *con,
|
||||
return;
|
||||
|
||||
/* Peel off a new sock */
|
||||
sctp_lock_sock(con->sock->sk);
|
||||
lock_sock(con->sock->sk);
|
||||
ret = sctp_do_peeloff(con->sock->sk,
|
||||
sn->sn_assoc_change.sac_assoc_id,
|
||||
&new_con->sock);
|
||||
sctp_release_sock(con->sock->sk);
|
||||
release_sock(con->sock->sk);
|
||||
if (ret < 0) {
|
||||
log_print("Can't peel off a socket for "
|
||||
"connection %d to node %d: err=%d",
|
||||
|
Reference in New Issue
Block a user