From: Ken-ichirou MATSUZAWA Date: Fri, 28 Aug 2015 07:05:20 +0000 (+0900) Subject: netlink: mmap: fix lookup frame position X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~33^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7084a315897715776d1764f5fd9250609e515beb;p=pandora-kernel.git netlink: mmap: fix lookup frame position __netlink_lookup_frame() was always called with the same "pos" value in netlink_forward_ring(). It will look at the same ring entry header over and over again, every time through this loop. Then cycle through the whole ring, advancing ring->head, not "pos" until it equals the "ring->head != head" loop test fails. Signed-off-by: Ken-ichirou MATSUZAWA Signed-off-by: David S. Miller --- Reading git-diff-tree failed