]> git.baikalelectronics.ru Git - kernel.git/commit
inet: fix inet_bind_bucket_for_each
authorLucian Adrian Grijincu <lgrijincu@ixiacom.com>
Thu, 12 Nov 2009 05:07:26 +0000 (05:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Nov 2009 04:46:56 +0000 (20:46 -0800)
commitd3c14f44525a6e88fd0ab50ae9e8a0d4b5748143
treef588bd4048ea8d21a2dc70e1f8bada886a0af378
parent7de6bf38ab2a6b1b663c4443ab09a9d0ef8905a7
inet: fix inet_bind_bucket_for_each

The first "node" is supposed to be the cursor used in the for_each.

The second "node" is ment literally and should not be macro expanded:
it's the name of the hlist_node field from the inet_bind_bucket.

This currently works because when inet_bind_bucket_for_each is called
it's argument is still "node".

Signed-off-by: Lucian Adrian Grijincu <lgrijincu@ixiacom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_hashtables.h