tcp: add tcp_sock_set_quickack
Add a helper to directly set the TCP_QUICKACK sockopt from kernel space without going through a fake uaccess. Cleanup the callers to avoid pointless wrappers now that this is a simple function call. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
12abc5ee78
commit
ddd061b8da
@@ -499,5 +499,6 @@ int tcp_skb_shift(struct sk_buff *to, struct sk_buff *from, int pcount,
|
||||
|
||||
void tcp_sock_set_cork(struct sock *sk, bool on);
|
||||
void tcp_sock_set_nodelay(struct sock *sk);
|
||||
void tcp_sock_set_quickack(struct sock *sk, int val);
|
||||
|
||||
#endif /* _LINUX_TCP_H */
|
||||
|
Reference in New Issue
Block a user