diff options
| author | Yutaro Hayakawa <yutaro.hayakawa@isovalent.com> | 2022-12-25 14:52:57 +0900 |
|---|---|---|
| committer | Yutaro Hayakawa <yutaro.hayakawa@isovalent.com> | 2022-12-25 14:52:57 +0900 |
| commit | 45c129948cc3820a49cade81aba1c433507d47df (patch) | |
| tree | 0e7f44a0f8d0d8fcd58e750b8647e90da3c4c6c7 /lib/xref.h | |
| parent | 9a7f2c220346abba8a74eaf686d29f620b2c8000 (diff) | |
fpm: Send NH message to FPM even if the local kernel doesn't support it
netlink_route_multipath_msg_encode checks whether the local kernel
supports NextHop Netlink message and doesn't send the message if the
local kernel doesn't have support. This is also applied to the FPM since
kernel dataplane and FPM shares the same code. However, for the FPM,
it's not necessary to have this limit.
This commit adds extra check if netlink_route_multipath_msg_encode is
called from the FPM and bypass kernel support check if it is from the
FPM.
Signed-off-by: Yutaro Hayakawa <yutaro.hayakawa@isovalent.com>
Diffstat (limited to 'lib/xref.h')
0 files changed, 0 insertions, 0 deletions
