[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20150618.032630.1483876648100612079.davem@davemloft.net>
Date:	Thu, 18 Jun 2015 03:26:30 -0700 (PDT)
From:	David Miller <davem@...emloft.net>
To:	gospo@...ulusnetworks.com
Cc:	netdev@...r.kernel.org, ddutt@...ulusnetworks.com,
	sfeldma@...il.com, alexander.duyck@...il.com,
	hannes@...essinduktion.org, stephen@...workplumber.org
Subject: Re: [PATCH net-next 1/3 v4] net: track link-status of ipv4 nexthops
From: Andy Gospodarek <gospo@...ulusnetworks.com>
Date: Mon, 15 Jun 2015 12:33:19 -0400
> @@ -1107,9 +1107,10 @@ static int fib_netdev_event(struct notifier_block *this, unsigned long event, vo
>  	struct net_device *dev = netdev_notifier_info_to_dev(ptr);
>  	struct in_device *in_dev;
>  	struct net *net = dev_net(dev);
> +	unsigned flags;
Please always fully spell out "unsigned int" instead of shortening it to
just "unsigned", thanks.
> @@ -920,11 +926,17 @@ struct fib_info *fib_create_info(struct fib_config *cfg)
>  		if (!nh->nh_dev)
>  			goto failure;
>  	} else {
> +		int linkdown = 0;
>  		change_nexthops(fi) {
Please put an empty line between local variable declarations and
code.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists
 
