diff options
author | David S. Miller <davem@davemloft.net> | 2019-07-25 17:35:03 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-25 17:35:03 -0700 |
commit | 28ba934d28cf46c1ea92f6aff28e8d9ec52e194e (patch) | |
tree | 821fd2b12068195842b6d95acf3c5eaac605fcd3 /include/net/tcp.h | |
parent | 47d858d0bdcd47cc1c6c9eeca91b091dd9e55637 (diff) | |
parent | cb8ffde5694ae5fffb456eae932aac442aa3a207 (diff) | |
download | linux-28ba934d28cf46c1ea92f6aff28e8d9ec52e194e.tar.bz2 |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf
Alexei Starovoitov says:
====================
pull-request: bpf 2019-07-25
The following pull-request contains BPF updates for your *net* tree.
The main changes are:
1) fix segfault in libbpf, from Andrii.
2) fix gso_segs access, from Eric.
3) tls/sockmap fixes, from Jakub and John.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r-- | include/net/tcp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index e5cf514ba118..81e8ade1e6e4 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h @@ -2108,6 +2108,8 @@ struct tcp_ulp_ops { /* initialize ulp */ int (*init)(struct sock *sk); + /* update ulp */ + void (*update)(struct sock *sk, struct proto *p); /* cleanup ulp */ void (*release)(struct sock *sk); @@ -2119,6 +2121,7 @@ void tcp_unregister_ulp(struct tcp_ulp_ops *type); int tcp_set_ulp(struct sock *sk, const char *name); void tcp_get_available_ulp(char *buf, size_t len); void tcp_cleanup_ulp(struct sock *sk); +void tcp_update_ulp(struct sock *sk, struct proto *p); #define MODULE_ALIAS_TCP_ULP(name) \ __MODULE_INFO(alias, alias_userspace, name); \ |