cxgbit: call neigh_event_send() to update MAC address
PATCH 1/1 cxgbit: 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 <[email protected]>
--- drivers/target/iscsi/cxgbit/cxgbit_cm.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/target/iscsi/cxgbit/cxgbit_cm.c +3 -0
@@ -893,6 +893,9 @@ cxgbit_offload_init(struct cxgbit_sock *csk, int iptype, __u8 *peer_ip,return -ENODEV ;rcu_read_lock (); +if (!(n->nud_state &NUD_VALID )) +neigh_event_send (n,NULL ); + ret = -ENOMEM ;if (n->dev->flags &IFF_LOOPBACK ) {if (iptype =4 )
Signature · 1 line
2.0.2