summaryrefslogtreecommitdiff
path: root/net/strparser
diff options
context:
space:
mode:
Diffstat (limited to 'net/strparser')
-rw-r--r--net/strparser/strparser.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/strparser/strparser.c b/net/strparser/strparser.c
index fd688c0a7744..68334b56db1e 100644
--- a/net/strparser/strparser.c
+++ b/net/strparser/strparser.c
@@ -390,9 +390,6 @@ static void do_strp_rx_work(struct strparser *strp)
*/
lock_sock(csk);
- if (unlikely(csk->sk_user_data != strp))
- goto out;
-
if (unlikely(strp->rx_stopped))
goto out;