[NET] IPV4: Fix whitespace errors.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
642656518b
commit
e905a9edab
@@ -85,12 +85,12 @@ for (nhsel=0; nhsel < 1; nhsel++)
|
||||
#define endfor_nexthops(fi) }
|
||||
|
||||
|
||||
static const struct
|
||||
static const struct
|
||||
{
|
||||
int error;
|
||||
u8 scope;
|
||||
} fib_props[RTA_MAX + 1] = {
|
||||
{
|
||||
{
|
||||
.error = 0,
|
||||
.scope = RT_SCOPE_NOWHERE,
|
||||
}, /* RTN_UNSPEC */
|
||||
@@ -439,7 +439,7 @@ int fib_nh_match(struct fib_config *cfg, struct fib_info *fi)
|
||||
|
||||
rtnh = cfg->fc_mp;
|
||||
remaining = cfg->fc_mp_len;
|
||||
|
||||
|
||||
for_nexthops(fi) {
|
||||
int attrlen;
|
||||
|
||||
@@ -508,9 +508,9 @@ int fib_nh_match(struct fib_config *cfg, struct fib_info *fi)
|
||||
Normally it looks as following.
|
||||
|
||||
{universe prefix} -> (gw, oif) [scope link]
|
||||
|
|
||||
|
|
||||
|-> {link prefix} -> (gw, oif) [scope local]
|
||||
|
|
||||
|
|
||||
|-> {local prefix} (terminal node)
|
||||
*/
|
||||
|
||||
@@ -864,7 +864,7 @@ err_inval:
|
||||
err = -EINVAL;
|
||||
|
||||
failure:
|
||||
if (fi) {
|
||||
if (fi) {
|
||||
fi->fib_dead = 1;
|
||||
free_fib_info(fi);
|
||||
}
|
||||
@@ -1049,7 +1049,7 @@ int fib_sync_down(__be32 local, struct net_device *dev, int force)
|
||||
{
|
||||
int ret = 0;
|
||||
int scope = RT_SCOPE_NOWHERE;
|
||||
|
||||
|
||||
if (force)
|
||||
scope = -1;
|
||||
|
||||
|
Reference in New Issue
Block a user