[PATCH 3/4] vxlan: Adjustment parameters in rtnl_notify()

From: Yajun Deng
Date: Mon Jul 19 2021 - 08:47:31 EST


The fifth parameter alread modify from 'struct nlmsghdr *nlh' to
'int report', just adjustment it.

Signed-off-by: Yajun Deng <yajun.deng@xxxxxxxxx>
---
drivers/net/vxlan.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 5a8df5a195cb..dbe0b531868a 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -381,7 +381,7 @@ static void __vxlan_fdb_notify(struct vxlan_dev *vxlan, struct vxlan_fdb *fdb,
goto errout;
}

- rtnl_notify(skb, net, 0, RTNLGRP_NEIGH, NULL, GFP_ATOMIC);
+ rtnl_notify(skb, net, 0, RTNLGRP_NEIGH, 0, GFP_ATOMIC);
return;
errout:
if (err < 0)
--
2.32.0