net: strparser: fix strparser sk_user_data check
authorDave Watson <davejwatson@fb.com>
Mon, 22 Aug 2016 19:27:04 +0000 (12:27 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2016 05:43:16 +0000 (22:43 -0700)
commita01512dbe3ec1e7dc58b00161d61ead359f5ac08
treee67a875f3f1c314d822dd80d49888b81da1f5ad2
parentf1ff8666ed87b0013e45ce2d335085407bb38a60
net: strparser: fix strparser sk_user_data check

sk_user_data mismatch between what kcm expects (psock) and what strparser expects (strparser).

Queued rx_work, for example calling strp_check_rcv after socket buffer changes, will never complete.

sk_user_data is unused in strparser, so just remove the check.

Signed-off-by: Dave Watson <davejwatson@fb.com>
Acked-by: Tom Herbert <tom@herbertland.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/strparser/strparser.c