<div dir="ltr">Hi there,<div><br></div><div>I have a problem with the function skb_find_text().</div><div>Commit 059a2440fd3cf4ec57735db2c0a90401cde84fca removes the state argument from the parameters with the hint, that it isn&#39;t needed by the caller. But is it not needed by the function textsearch_next?</div><div><br></div><div>Example:<br></div><div><br></div><div>int pos;</div><div>struct ts_state state;</div><div><br></div><div>for (pos = skb_find_text(skb, 0, INT_MAX, conf);</div><div>     pos != UINT_MAX;</div><div>     pos = textsearch_next(conf, &amp;state))</div><div>        pr_info(&quot;String was found.&quot;);</div><div><br></div><div>Is this the right way to search for a string?</div><div><br></div><div>Thanks,</div><div>Jannik Becher</div></div>