diff options
Diffstat (limited to 'include/net/sock.h')
-rw-r--r-- | include/net/sock.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 8de5ee258b93..341f8bafa0cf 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -2084,12 +2084,6 @@ static inline bool skwq_has_sleeper(struct socket_wq *wq) | |||
2084 | * @p: poll_table | 2084 | * @p: poll_table |
2085 | * | 2085 | * |
2086 | * See the comments in the wq_has_sleeper function. | 2086 | * See the comments in the wq_has_sleeper function. |
2087 | * | ||
2088 | * Do not derive sock from filp->private_data here. An SMC socket establishes | ||
2089 | * an internal TCP socket that is used in the fallback case. All socket | ||
2090 | * operations on the SMC socket are then forwarded to the TCP socket. In case of | ||
2091 | * poll, the filp->private_data pointer references the SMC socket because the | ||
2092 | * TCP socket has no file assigned. | ||
2093 | */ | 2087 | */ |
2094 | static inline void sock_poll_wait(struct file *filp, struct socket *sock, | 2088 | static inline void sock_poll_wait(struct file *filp, struct socket *sock, |
2095 | poll_table *p) | 2089 | poll_table *p) |