]> git.proxmox.com Git - mirror_frr.git/commit
zebra: set nlmsg_pid in netlink msgs sent by 'fpm'
authorDuncan Eastoe <duncan.eastoe@att.com>
Fri, 15 Jan 2021 16:06:17 +0000 (16:06 +0000)
committerDuncan Eastoe <duncan.eastoe@att.com>
Fri, 15 Jan 2021 16:28:06 +0000 (16:28 +0000)
commit869a5f71684a9735074557c4fac1c0c566e107d3
treef620c3e59393956cf27aab95d9bba2f6f13ef997
parent0189d02fe1092e4b741aa9ae978ba6c465289830
zebra: set nlmsg_pid in netlink msgs sent by 'fpm'

Use nl_pid from the netlink socket used for programming the kernel
(netlink_dplane) in netlink route messages sent by the 'fpm' module.

This makes 'fpm' consistent with 'dplane_fpm_nl' which already
behaves this way, and allows FPM server implementations to determine
route origin via nlmsg_pid.

Signed-off-by: Duncan Eastoe <duncan.eastoe@att.com>
zebra/zebra_fpm_netlink.c