]> git.puffer.fish Git - matthieu/frr.git/commit
isisd: fix memory handling in isis_adj_process_threeway()
authorMark Stapp <mjs@cisco.com>
Fri, 9 Aug 2024 14:08:21 +0000 (10:08 -0400)
committerMark Stapp <mjs@cisco.com>
Fri, 9 Aug 2024 14:08:21 +0000 (10:08 -0400)
commit3eb7d1641166872591554519607483f6d77657f5
tree9c10fe0e038466b31fbe381e9da8ca316457e7a3
parente7fd713afcea95a816723aa417928c8225453d19
isisd: fix memory handling in isis_adj_process_threeway()

The adj_process_threeway() api may call the adj_state_change()
api, which may delete the adj struct being examined. Change the
signature so that callers pass a ptr-to-ptr so that they will
see that deletion.

Signed-off-by: Mark Stapp <mjs@cisco.com>
isisd/isis_adjacency.c
isisd/isis_adjacency.h
isisd/isis_pdu.c