diff options
author | Sanjana Srinidhi <sanjanasrinidhi1810@gmail.com> | 2021-03-13 14:06:49 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-13 18:06:48 -0800 |
commit | 6fadbdd6dd3260120bde3f2e471125d4fbce168c (patch) | |
tree | f719d1f7c106f49329436bf69dd1cf9f0cb8f360 | |
parent | 65c7bc1b7a66f2cb0bafcefd9e15e1de44ac7ea7 (diff) |
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@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/vxlan.c | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |