[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210313083649.2scdqxdcozfpoana@sanjana-VirtualBox>
Date: Sat, 13 Mar 2021 14:06:49 +0530
From: Sanjana Srinidhi <sanjanasrinidhi1810@...il.com>
To: davem@...emloft.net
Cc: kuba@...nel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, bkkarthik@...u.pes.edu
Subject: [PATCH] drivers: net: vxlan.c: Fix declaration issue
Added a blank line after structure declaration.
This is done to maintain code uniformity.
Signed-off-by: Sanjana Srinidhi <sanjanasrinidhi1810@...il.com>
---
drivers/net/vxlan.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/vxlan.c b/drivers/net/vxlan.c
index 666dd201c3d5..7665817f3cb6 100644
--- a/drivers/net/vxlan.c
+++ b/drivers/net/vxlan.c
@@ -3703,6 +3703,7 @@ static int vxlan_config_validate(struct net *src_net, struct vxlan_config *conf,
#if IS_ENABLED(CONFIG_IPV6)
if (use_ipv6) {
struct inet6_dev *idev = __in6_dev_get(lowerdev);
+
if (idev && idev->cnf.disable_ipv6) {
NL_SET_ERR_MSG(extack,
"IPv6 support disabled by administrator");
--
2.25.1
Powered by blists - more mailing lists