[PATCH] net: fix description of skb_find_text() according to removed functionality

2017-02-07 Thread Igor Pylypiv
Textsearch state parameter was moved to local scope of the function. This eliminates usage of textsearch_next() to find subsequent occurrences. Fixes: 59a2440fd3cf ("net: Remove state argument from skb_find_text()") Signed-off-by: Igor Pylypiv <igor.pyly...@gmail.com> --- net/c

[PATCH] Revert "net: Remove state argument from skb_find_text()"

2017-02-04 Thread Igor Pylypiv
This reverts commit 059a2440fd3cf4ec57735db2c0a90401cde84fca. Textsearch state parameter should be passed by pointer because its resulting value is needed for call to textsearch_next(). Signed-off-by: Igor Pylypiv <igor.pyly...@gmail.com> --- include/linux/skbuff.h | 3 ++