Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 278353
b: refs/heads/master
c: 51e059b
h: refs/heads/master
i:
  278351: 4520cae
v: v3
  • Loading branch information
David Miller committed Dec 5, 2011
1 parent 8c84443 commit 4503d7a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a58b61e5b79bc9ce5f8d7b0cd03e8c6525c657f8
refs/heads/master: 51e059bdd62f8da90973edf8a6180bd2c080f866
8 changes: 7 additions & 1 deletion trunk/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
Original file line number Diff line number Diff line change
Expand Up @@ -1127,6 +1127,7 @@ static int init_act_open(struct cxgbi_sock *csk)
struct net_device *ndev = cdev->ports[csk->port_id];
struct port_info *pi = netdev_priv(ndev);
struct sk_buff *skb = NULL;
struct neighbour *n;
unsigned int step;

log_debug(1 << CXGBI_DBG_TOE | 1 << CXGBI_DBG_SOCK,
Expand All @@ -1141,7 +1142,12 @@ static int init_act_open(struct cxgbi_sock *csk)
cxgbi_sock_set_flag(csk, CTPF_HAS_ATID);
cxgbi_sock_get(csk);

csk->l2t = cxgb4_l2t_get(lldi->l2t, dst_get_neighbour_noref(csk->dst), ndev, 0);
n = dst_get_neighbour_noref(csk->dst);
if (!n) {
pr_err("%s, can't get neighbour of csk->dst.\n", ndev->name);
goto rel_resource;
}
csk->l2t = cxgb4_l2t_get(lldi->l2t, n, ndev, 0);
if (!csk->l2t) {
pr_err("%s, cannot alloc l2t.\n", ndev->name);
goto rel_resource;
Expand Down

0 comments on commit 4503d7a

Please sign in to comment.