diff mbox series

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

Message ID 20210719124712.9009-1-yajun.deng@linux.dev
State New
Headers show
Series None | expand

Commit Message

Yajun Deng July 19, 2021, 12:47 p.m. UTC
The fifth parameter alread modify from 'struct nlmsghdr *nlh' to
'int report', just adjustment it.

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

Patch

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)