Skip to contentSkip to conversation

scsi: cxgb4i: call neigh_event_send() to update MAC address

PATCH Applied Varun Prakash 2 participants 2 messages Aug 16, 2017 – Aug 17, 2017

Subsystems (2)
lore
Share & tools
lore

Varun Prakash

author maintainer
#0 lore raw

PATCH 1/1 scsi: cxgb4i: call neigh_event_send() to update MAC address

If nud_state is not valid then call neigh_event_send() to update MAC address.

---
 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c +3 -0
index a69a9ac..1d02cf9 100644
@@ -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);
Signature · 1 line
2.0.2
#1 lore raw

Varun,

Quoted 2 lines

If nud_state is not valid then call neigh_event_send() to update MAC address.

Applied to 4.13/scsi-fixes, thanks!

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering