2021-07-19 12:48:24

by Yajun Deng

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

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

Signed-off-by: Yajun Deng <[email protected]>
---
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