diff options
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | 2008-10-07 23:18:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-07 23:18:42 +0200 |
commit | c57943a1c96214ee68f3890bb6772841ffbfd606 (patch) | |
tree | bfe79b29240d442c8ea104a89c2e827032b2824e /include/net/tcp.h | |
parent | ipv6: initialize ip6_route sysctl vars in ip6_route_net_init() (diff) | |
download | linux-c57943a1c96214ee68f3890bb6772841ffbfd606.tar.xz linux-c57943a1c96214ee68f3890bb6772841ffbfd606.zip |
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 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index f6cc34143154..438014d57610 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -896,7 +896,7 @@ static inline int tcp_prequeue(struct sock *sk, struct sk_buff *skb) BUG_ON(sock_owned_by_user(sk)); while ((skb1 = __skb_dequeue(&tp->ucopy.prequeue)) != NULL) { - sk->sk_backlog_rcv(sk, skb1); + sk_backlog_rcv(sk, skb1); NET_INC_STATS_BH(sock_net(sk), LINUX_MIB_TCPPREQUEUEDROPPED); } |