]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: fix test for end of loop
authorJoe Perches <joe@perches.com>
Wed, 8 Sep 2010 11:04:21 +0000 (11:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Sep 2010 22:00:29 +0000 (15:00 -0700)
commit77d001bd9bf3c943e252bb0612902948982fef23
tree2f7b13ffb639f3737b52ce47bf7bf258ff496f3a
parent15eee169b6c4fd2cfc7a2c879e0e5e0c06313dca
sctp: fix test for end of loop

Add a list_has_sctp_addr function to simplify loop

Based on a patches by Dan Carpenter and David Miller

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/sm_statefuns.c