]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/net/tcp.h
inet: make sure to grab rcu_read_lock before using ireq->ireq_opt
[mirror_ubuntu-bionic-kernel.git] / include / net / tcp.h
index 02942ee124ede97ef4106a9bca2508cb1697e6cc..09bcfe8cc27afa3a4ff94356d99b5573634a67c4 100644 (file)
@@ -2007,6 +2007,10 @@ 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);
 
+#define MODULE_ALIAS_TCP_ULP(name)                             \
+       __MODULE_INFO(alias, alias_userspace, name);            \
+       __MODULE_INFO(alias, alias_tcp_ulp, "tcp-ulp-" name)
+
 /* Call BPF_SOCK_OPS program that returns an int. If the return value
  * is < 0, then the BPF op failed (for example if the loaded BPF
  * program does not support the chosen operation or there is no BPF