summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-10-15 15:39:49 -0400
committerStephen Worley <sworley@cumulusnetworks.com>2019-10-15 15:39:49 -0400
commitb19d55d048f6a644629595da361df9e6d0674555 (patch)
treeea01d5d386e823009c18f2f4873ba8bd976fb54b /lib/command.c
parentb77a69bdc601133612d89cb5e389f014d3e68970 (diff)
zebra: Don't bother ref'ing ifp in zebra_pbr_rule
If we only really use the ifp for the name, then don't bother referencing the ifp. If that ifp is freed, we don't expect zebra to handle the rules that use it (that's pbrd's job), so it is going to be pointing to unintialized memory when we decide to remove that rule later. Thus, just keep the name in the data and dont mess with pointer refs. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions