summaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/sock.h')
-rw-r--r--include/net/sock.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 784cd19d5ff7..4d208c0f9c14 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -236,6 +236,8 @@ struct sock_common {
236 /* public: */ 236 /* public: */
237}; 237};
238 238
239struct bpf_sk_storage;
240
239/** 241/**
240 * struct sock - network layer representation of sockets 242 * struct sock - network layer representation of sockets
241 * @__sk_common: shared layout with inet_timewait_sock 243 * @__sk_common: shared layout with inet_timewait_sock
@@ -510,6 +512,9 @@ struct sock {
510#endif 512#endif
511 void (*sk_destruct)(struct sock *sk); 513 void (*sk_destruct)(struct sock *sk);
512 struct sock_reuseport __rcu *sk_reuseport_cb; 514 struct sock_reuseport __rcu *sk_reuseport_cb;
515#ifdef CONFIG_BPF_SYSCALL
516 struct bpf_sk_storage __rcu *sk_bpf_storage;
517#endif
513 struct rcu_head sk_rcu; 518 struct rcu_head sk_rcu;
514}; 519};
515 520