mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-27 17:08:30 +00:00
Merge pull request #14548 from raja-rajasekar/frr_dev1
zebra: Prevent leaking ctx memory in err condition
This commit is contained in:
commit
cc63e16a52
@ -1622,6 +1622,7 @@ int netlink_link_change(struct nlmsghdr *h, ns_id_t ns_id, int startup)
|
||||
zlog_debug(
|
||||
"RTM_NEWLINK for interface %s(%u) without MTU set",
|
||||
name, ifi->ifi_index);
|
||||
dplane_ctx_fini(&ctx);
|
||||
return 0;
|
||||
}
|
||||
dplane_ctx_set_ifp_mtu(ctx, *(int *)RTA_DATA(tb[IFLA_MTU]));
|
||||
|
Loading…
Reference in New Issue
Block a user