History

tcp: add tcp_sock_set_syncnt

Add a helper to directly set the TCP_SYNCNT sockopt from kernel space without going through a fake uaccess.

Christoph Hellwig committed 6 years ago

Commit 557eadf1 parent ddd061b3 files · +14 −8Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/tcp.h+1−0
@@ -500,5 +500,6 @@ int tcp_skb_shift(struct sk_buff *to, struct sk_buff *from, int pcount, · 499 unmodified lines
500void tcp_sock_set_cork(struct sock *sk, bool on);500void tcp_sock_set_cork(struct sock *sk, bool on);
501void tcp_sock_set_nodelay(struct sock *sk);501void tcp_sock_set_nodelay(struct sock *sk);
502void tcp_sock_set_quickack(struct sock *sk, int val);502void tcp_sock_set_quickack(struct sock *sk, int val);
503int tcp_sock_set_syncnt(struct sock *sk, int val);
503 504
504#endif /* _LINUX_TCP_H */505#endif /* _LINUX_TCP_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t