* [PATCH] scsi: cxgb4i: call neigh_event_send() to update MAC address
@ 2017-08-16 14:10 Varun Prakash
2017-08-17 0:12 ` Martin K. Petersen
0 siblings, 1 reply; 2+ messages in thread
From: Varun Prakash @ 2017-08-16 14:10 UTC (permalink / raw)
To: martin.petersen; +Cc: linux-scsi, indranil, varun
If nud_state is not valid then call neigh_event_send()
to update MAC address.
Signed-off-by: Varun Prakash <varun@chelsio.com>
---
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
index a69a9ac..1d02cf9 100644
--- a/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
+++ b/drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
@@ -1635,6 +1635,9 @@ static int init_act_open(struct cxgbi_sock *csk)
goto rel_resource;
}
+ if (!(n->nud_state & NUD_VALID))
+ neigh_event_send(n, NULL);
+
csk->atid = cxgb4_alloc_atid(lldi->tids, csk);
if (csk->atid < 0) {
pr_err("%s, NO atid available.\n", ndev->name);
--
2.0.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] scsi: cxgb4i: call neigh_event_send() to update MAC address
2017-08-16 14:10 [PATCH] scsi: cxgb4i: call neigh_event_send() to update MAC address Varun Prakash
@ 2017-08-17 0:12 ` Martin K. Petersen
0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2017-08-17 0:12 UTC (permalink / raw)
To: Varun Prakash; +Cc: martin.petersen, linux-scsi, indranil
Varun,
> If nud_state is not valid then call neigh_event_send() to update MAC
> address.
Applied to 4.13/scsi-fixes, thanks!
--
Martin K. Petersen Oracle Linux Engineering
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-17 0:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-16 14:10 [PATCH] scsi: cxgb4i: call neigh_event_send() to update MAC address Varun Prakash
2017-08-17 0:12 ` Martin K. Petersen
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.