diff options
author | David S. Miller <davem@davemloft.net> | 2011-07-18 02:09:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-18 02:11:35 -0400 |
commit | 69cce1d1404968f78b177a0314f5822d5afdbbfb (patch) | |
tree | 26223264fd69ea8078d0013fd5a76eb7aeb04c12 /drivers/scsi/cxgbi/cxgb4i | |
parent | 9cbb7ecbcff85077bb12301aaf4c9b5a56c5993d (diff) |
net: Abstract dst->neighbour accesses behind helpers.
dst_{get,set}_neighbour()
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/cxgbi/cxgb4i')
-rw-r--r-- | drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c index f3a4cd7cf782..ae13c4993aa3 100644 --- a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c +++ b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | |||
@@ -1160,7 +1160,7 @@ static int init_act_open(struct cxgbi_sock *csk) | |||
1160 | cxgbi_sock_set_flag(csk, CTPF_HAS_ATID); | 1160 | cxgbi_sock_set_flag(csk, CTPF_HAS_ATID); |
1161 | cxgbi_sock_get(csk); | 1161 | cxgbi_sock_get(csk); |
1162 | 1162 | ||
1163 | csk->l2t = cxgb4_l2t_get(lldi->l2t, csk->dst->neighbour, ndev, 0); | 1163 | csk->l2t = cxgb4_l2t_get(lldi->l2t, dst_get_neighbour(csk->dst), ndev, 0); |
1164 | if (!csk->l2t) { | 1164 | if (!csk->l2t) { |
1165 | pr_err("%s, cannot alloc l2t.\n", ndev->name); | 1165 | pr_err("%s, cannot alloc l2t.\n", ndev->name); |
1166 | goto rel_resource; | 1166 | goto rel_resource; |