Skip to contentSkip to conversation

vxlan: Adjustment parameters in rtnl_notify()

PATCH In review Yajun Deng 1 participant 1 message Jul 19, 2021

Subsystems (2)
lore
Share & tools
lore

Yajun Deng

author
#0 lore raw

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

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

---
 drivers/net/vxlan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/vxlan.c +1 -1
index 5a8df5a195cb..dbe0b531868a 100644
@@ -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)
Signature · 1 line
2.32.0