aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Pirko <jiri@resnulli.us>2014-01-14 09:46:07 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-15 17:46:00 -0500
commit3977458c9c61fc27a5a88cfcf51696b838d1ecc9 (patch)
treedd61dee5b54430783fa6dcf9b39fa2860d565ede
parent42851e88a7556e525a5527d46c3763830d8fdd2e (diff)
neigh: split lines for NEIGH_VAR_SET so they are not too long
introduced by: commit 1f9248e5606afc6485255e38ad57bdac08fa7711 "neigh: convert parms to an array" Signed-off-by: Jiri Pirko <jiri@resnulli.us> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/core/neighbour.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/net/core/neighbour.c b/net/core/neighbour.c
index e360d9e65c04..f8012feddf6d 100644
--- a/net/core/neighbour.c
+++ b/net/core/neighbour.c
@@ -2087,13 +2087,16 @@ static int neightbl_set(struct sk_buff *skb, struct nlmsghdr *nlh)
2087 nla_get_msecs(tbp[i])); 2087 nla_get_msecs(tbp[i]));
2088 break; 2088 break;
2089 case NDTPA_ANYCAST_DELAY: 2089 case NDTPA_ANYCAST_DELAY:
2090 NEIGH_VAR_SET(p, ANYCAST_DELAY, nla_get_msecs(tbp[i])); 2090 NEIGH_VAR_SET(p, ANYCAST_DELAY,
2091 nla_get_msecs(tbp[i]));
2091 break; 2092 break;
2092 case NDTPA_PROXY_DELAY: 2093 case NDTPA_PROXY_DELAY:
2093 NEIGH_VAR_SET(p, PROXY_DELAY, nla_get_msecs(tbp[i])); 2094 NEIGH_VAR_SET(p, PROXY_DELAY,
2095 nla_get_msecs(tbp[i]));
2094 break; 2096 break;
2095 case NDTPA_LOCKTIME: 2097 case NDTPA_LOCKTIME:
2096 NEIGH_VAR_SET(p, LOCKTIME, nla_get_msecs(tbp[i])); 2098 NEIGH_VAR_SET(p, LOCKTIME,
2099 nla_get_msecs(tbp[i]));
2097 break; 2100 break;
2098 } 2101 }
2099 } 2102 }