mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
65c7bc1b7a
commit
6fadbdd6dd
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue