diff options
author | Ken-ichirou MATSUZAWA <chamaken@gmail.com> | 2015-08-28 09:05:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-29 07:25:42 +0200 |
commit | 7084a315897715776d1764f5fd9250609e515beb (patch) | |
tree | 463dba9a70f3fa0df25bf01b4c9c224779242ced /net/sctp/sm_make_chunk.c | |
parent | netlink: add NETLINK_CAP_ACK socket option (diff) | |
download | linux-7084a315897715776d1764f5fd9250609e515beb.tar.xz linux-7084a315897715776d1764f5fd9250609e515beb.zip |
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 <chamas@h4.dion.ne.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions