]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_nhg.c
zebra: move iptable handling in zebra_dplane
authorPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 16 Feb 2021 14:29:29 +0000 (15:29 +0100)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 4 Mar 2021 10:50:25 +0000 (11:50 +0100)
commit5162e00045e1fe5ee4acd34d9e507e54f668e1e0
treed6d9bd7306b822f2522105c5f6d503374d1a6809
parentc103ac43dea8087e33e62dec69cee2d79e362ed5
zebra: move iptable handling in zebra_dplane

The iptable processing was not handled in remote dataplane, and was
directly processed by the thread in charge of zapi calls. Now that call
can be handled in the zebra_dplane separate thread. once a
zebra_dplane_ctx is allocated for iptable handling, the hook call is
performed later. Subsequently, a return code may be triggered to zclient
interface if any problem occurs when calling the hook call.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
zebra/kernel_netlink.c
zebra/zapi_msg.c
zebra/zapi_msg.h
zebra/zebra_dplane.c
zebra/zebra_dplane.h
zebra/zebra_nhg.c
zebra/zebra_pbr.c
zebra/zebra_pbr.h
zebra/zebra_rib.c