aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2008-10-07 17:18:42 -0400
committerDavid S. Miller <davem@davemloft.net>2008-10-07 17:18:42 -0400
commitc57943a1c96214ee68f3890bb6772841ffbfd606 (patch)
treebfe79b29240d442c8ea104a89c2e827032b2824e /net/ipv4/tcp.c
parentb339a47c370ec669f789c5989f54eec1d78574bb (diff)
net: wrap sk->sk_backlog_rcv()
Wrap calling sk->sk_backlog_rcv() in a function. This will allow extending the generic sk_backlog_rcv behaviour. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r--net/ipv4/tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 7d81a1ee5507..7d3fe571d15f 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -1161,7 +1161,7 @@ static void tcp_prequeue_process(struct sock *sk)
1161 * necessary */ 1161 * necessary */
1162 local_bh_disable(); 1162 local_bh_disable();
1163 while ((skb = __skb_dequeue(&tp->ucopy.prequeue)) != NULL) 1163 while ((skb = __skb_dequeue(&tp->ucopy.prequeue)) != NULL)
1164 sk->sk_backlog_rcv(sk, skb); 1164 sk_backlog_rcv(sk, skb);
1165 local_bh_enable(); 1165 local_bh_enable();
1166 1166
1167 /* Clear memory counter. */ 1167 /* Clear memory counter. */