On Mon, 2016-08-08 at 19:22 +0530, Amit Pundir wrote:
On 2 August 2016 at 21:49, Jon Medhurst (Tixy) tixy@linaro.org wrote:
Hi All
After updating my Juno tree to the 16.07 release of LSK 3.18 I am not able to boot Android. I narrowed down the problem to the new iptable validity checks that came in with Linux 3.18.37. If I revert a bunch of these then things work again, i.e.
git revert 674c7e173d01~..6a9f9d4e6c5d
If I don't revert 674c7e173d01 then things remain broken, but it's not as simple as just that one commit being wrong, because if I only revert that one by itself it doesn't fix things.
Just an FYI that I stumbled upon this upstream commit f4dc77713f80 ("netfilter: x_tables: speed up jump target validation") which, from the description, seem to address the same regression which we are facing on lsk-android-4.4. But I have not verified it yet and will keep you posted.
Thanks. From my experiments it seemed that find_jump_target() was returning false, rather than just taking a long time before returning true. So that upstream performance fix may not be the whole picture.