mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
1b0de194f1
commit
048ed4b626
3 changed files with 33 additions and 35 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue