]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NETFILTER]: nf_queue: fix end-of-list check
authorPatrick McHardy <kaber@trash.net>
Mon, 27 Feb 2006 21:03:55 +0000 (13:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Feb 2006 21:03:55 +0000 (13:03 -0800)
commit45fe4dc08cbf9510074b97a16606366c1d405f4d
tree2c629e31e03d62e84c375ad809861806a02840e0
parente121e9ecb08c3a9843243f461290869ff08be900
[NETFILTER]: nf_queue: fix end-of-list check

The comparison wants to find out if the last list iteration reached the
end of the list. It needs to compare the iterator with the list head to
do this, not the element it is looking for.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/nf_queue.c