diff options
author | Michael S. Tsirkin <mst@mellanox.co.il> | 2005-09-01 18:19:44 +0200 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-09-07 18:48:52 +0200 |
commit | 1d6801f9dd3ebb054ae685153a01b1a4ec817f46 (patch) | |
tree | 2f3e72b292c9ac04cec776fbb60cdec1c4269f24 /kernel/fork.c | |
parent | [PATCH] IPoIB: fix memory leak (diff) | |
download | linux-1d6801f9dd3ebb054ae685153a01b1a4ec817f46.tar.xz linux-1d6801f9dd3ebb054ae685153a01b1a4ec817f46.zip |
[PATCH] IB/sa_query: avoid unnecessary list scan
Using ib_get_client_data in SA event handler performs a list scan.
It's better to use container_of to get the sa device directly.
Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions