summaryrefslogtreecommitdiffstats
path: root/src/vppinfra/tw_timer_template.h
diff options
context:
space:
mode:
authorSteven Luong <sluong@cisco.com>2021-07-15 08:57:02 -0700
committerNeale Ranns <neale@graphiant.com>2021-07-15 18:14:44 +0000
commit18991be8d334f1e6f6e82305d9472d2925b7a1ba (patch)
treeedd9f8e62f2144e15e7dc51e2e7921329ca7e9c8 /src/vppinfra/tw_timer_template.h
parent850106058f6bb69dad1f8fb711c5a978b977b2a9 (diff)
ip-neighbor: GARP sent to bogus ip address
The function ip4_neighbor_advertise may be called with NULL addr. In that case, it looks up addr from fib by calling fib_sas4_get which returns true or false to indicate whether there is an ip address associated with the interface or not. But the caller to fib_sas4_get does not check the return code and blindly assumes there is always an ip address associated with the interface. As a result, it ends up sending GARP to the bogus ip address if there is no ip address associated with the interface. Type: fix Signed-off-by: Steven Luong <sluong@cisco.com> Change-Id: I7aa0270766c3943ed8ca8f8a092cae34567fd30e
Diffstat (limited to 'src/vppinfra/tw_timer_template.h')
0 files changed, 0 insertions, 0 deletions