diff options
-rw-r--r-- | net/core/neighbour.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c index 91592fceeaad..4e07824eec5e 100644 --- a/net/core/neighbour.c +++ b/net/core/neighbour.c | |||
@@ -1148,8 +1148,7 @@ int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, | |||
1148 | neigh->nud_state = new; | 1148 | neigh->nud_state = new; |
1149 | err = 0; | 1149 | err = 0; |
1150 | notify = old & NUD_VALID; | 1150 | notify = old & NUD_VALID; |
1151 | if (((old & (NUD_INCOMPLETE | NUD_PROBE)) || | 1151 | if ((old & (NUD_INCOMPLETE | NUD_PROBE)) && |
1152 | (flags & NEIGH_UPDATE_F_ADMIN)) && | ||
1153 | (new & NUD_FAILED)) { | 1152 | (new & NUD_FAILED)) { |
1154 | neigh_invalidate(neigh); | 1153 | neigh_invalidate(neigh); |
1155 | notify = 1; | 1154 | notify = 1; |