projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09f99a3
)
cxgbit: call neigh_event_send() to update MAC address
author
Varun Prakash
<varun@chelsio.com>
Mon, 11 Dec 2017 15:30:25 +0000
(21:00 +0530)
committer
Nicholas Bellinger
<nab@linux-iscsi.org>
Fri, 12 Jan 2018 23:07:26 +0000
(15:07 -0800)
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: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/iscsi/cxgbit/cxgbit_cm.c
patch
|
blob
|
history
diff --git
a/drivers/target/iscsi/cxgbit/cxgbit_cm.c
b/drivers/target/iscsi/cxgbit/cxgbit_cm.c
index
92eb57e
..
8de1601
100644
(file)
--- a/
drivers/target/iscsi/cxgbit/cxgbit_cm.c
+++ b/
drivers/target/iscsi/cxgbit/cxgbit_cm.c
@@
-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)