lkml.org 
[lkml]   [2021]   [Jul]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/4] vxlan: Adjustment parameters in rtnl_notify()
Date
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 --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
\
 
 \ /
  Last update: 2021-07-19 14:49    [W:0.031 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site