Skip to content
Snippets Groups Projects
Commit 6fadbdd6 authored by Sanjana Srinidhi's avatar Sanjana Srinidhi Committed by David S. Miller
Browse files

drivers: net: vxlan.c: Fix declaration issue


Added a blank line after structure declaration.
This is done to maintain code uniformity.

Signed-off-by: default avatarSanjana Srinidhi <sanjanasrinidhi1810@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 65c7bc1b
No related branches found
No related tags found
No related merge requests found
...@@ -3703,6 +3703,7 @@ static int vxlan_config_validate(struct net *src_net, struct vxlan_config *conf, ...@@ -3703,6 +3703,7 @@ static int vxlan_config_validate(struct net *src_net, struct vxlan_config *conf,
#if IS_ENABLED(CONFIG_IPV6) #if IS_ENABLED(CONFIG_IPV6)
if (use_ipv6) { if (use_ipv6) {
struct inet6_dev *idev = __in6_dev_get(lowerdev); struct inet6_dev *idev = __in6_dev_get(lowerdev);
if (idev && idev->cnf.disable_ipv6) { if (idev && idev->cnf.disable_ipv6) {
NL_SET_ERR_MSG(extack, NL_SET_ERR_MSG(extack,
"IPv6 support disabled by administrator"); "IPv6 support disabled by administrator");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment