summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_sr.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2018-08-16 17:32:41 +0200
committerGitHub <noreply@github.com>2018-08-16 17:32:41 +0200
commit4b0d7894cba17263015b7a5d0f9436d10a492ebc (patch)
treef263dd99bf2740a5cd48c620a67b5f21cc01660e /ospfd/ospf_sr.c
parentMerge pull request #2849 from patrasar/memory_leak_nht (diff)
parentzebra: Trust backet->data (diff)
downloadfrr-4b0d7894cba17263015b7a5d0f9436d10a492ebc.tar.xz
frr-4b0d7894cba17263015b7a5d0f9436d10a492ebc.zip
Merge pull request #2846 from donaldsharp/backet_data
Backet data
Diffstat (limited to 'ospfd/ospf_sr.c')
-rw-r--r--ospfd/ospf_sr.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ospfd/ospf_sr.c b/ospfd/ospf_sr.c
index 6cb697f3a..23dae6b08 100644
--- a/ospfd/ospf_sr.c
+++ b/ospfd/ospf_sr.c
@@ -1538,10 +1538,6 @@ static void ospf_sr_nhlfe_update(struct hash_backet *backet, void *args)
struct sr_nhlfe old;
int rc;
- /* Sanity Check */
- if (srn == NULL)
- return;
-
if (IS_DEBUG_OSPF_SR)
zlog_debug(" |- Update Prefix for SR Node %s",
inet_ntoa(srn->adv_router));