mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 21:40:53 +07:00
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. Signed-off-by: Varun Prakash <varun@chelsio.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
cbe7dfa26e
commit
71eb2ac58a
@ -1635,6 +1635,9 @@ static int init_act_open(struct cxgbi_sock *csk)
|
|||||||
goto rel_resource;
|
goto rel_resource;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!(n->nud_state & NUD_VALID))
|
||||||
|
neigh_event_send(n, NULL);
|
||||||
|
|
||||||
csk->atid = cxgb4_alloc_atid(lldi->tids, csk);
|
csk->atid = cxgb4_alloc_atid(lldi->tids, csk);
|
||||||
if (csk->atid < 0) {
|
if (csk->atid < 0) {
|
||||||
pr_err("%s, NO atid available.\n", ndev->name);
|
pr_err("%s, NO atid available.\n", ndev->name);
|
||||||
|
Loading…
Reference in New Issue
Block a user