diff options
author | Zhu Yi <yi.zhu@intel.com> | 2010-03-04 13:01:47 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-01 19:02:04 -0400 |
commit | a12a9a26ff389892df27e2ff4cbf03e5b2ed0d64 (patch) | |
tree | 365926473d8d9879f3b146e23668afee89b9b47d /net/sctp | |
parent | 51c5db4ddd330e96c9221392b1cf361ce1daa88c (diff) |
net: backlog functions rename
[ Upstream commit a3a858ff18a72a8d388e31ab0d98f7e944841a62 ]
sk_add_backlog -> __sk_add_backlog
sk_add_backlog_limited -> sk_add_backlog
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sctp/input.c b/net/sctp/input.c index cbc063665e6b..3d74b264ea22 100644 --- a/net/sctp/input.c +++ b/net/sctp/input.c | |||
@@ -341,7 +341,7 @@ int sctp_backlog_rcv(struct sock *sk, struct sk_buff *skb) | |||
341 | sctp_bh_lock_sock(sk); | 341 | sctp_bh_lock_sock(sk); |
342 | 342 | ||
343 | if (sock_owned_by_user(sk)) { | 343 | if (sock_owned_by_user(sk)) { |
344 | if (sk_add_backlog_limited(sk, skb)) | 344 | if (sk_add_backlog(sk, skb)) |
345 | sctp_chunk_free(chunk); | 345 | sctp_chunk_free(chunk); |
346 | else | 346 | else |
347 | backloged = 1; | 347 | backloged = 1; |
@@ -375,7 +375,7 @@ static int sctp_add_backlog(struct sock *sk, struct sk_buff *skb) | |||
375 | struct sctp_ep_common *rcvr = chunk->rcvr; | 375 | struct sctp_ep_common *rcvr = chunk->rcvr; |
376 | int ret; | 376 | int ret; |
377 | 377 | ||
378 | ret = sk_add_backlog_limited(sk, skb); | 378 | ret = sk_add_backlog(sk, skb); |
379 | if (!ret) { | 379 | if (!ret) { |
380 | /* Hold the assoc/ep while hanging on the backlog queue. | 380 | /* Hold the assoc/ep while hanging on the backlog queue. |
381 | * This way, we know structures we need will not disappear | 381 | * This way, we know structures we need will not disappear |