提交 3977458c 编写于 作者: J Jiri Pirko 提交者: David S. Miller

neigh: split lines for NEIGH_VAR_SET so they are not too long

introduced by:
commit 1f9248e5
"neigh: convert parms to an array"
Signed-off-by: NJiri Pirko <jiri@resnulli.us>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 42851e88
...@@ -2087,13 +2087,16 @@ static int neightbl_set(struct sk_buff *skb, struct nlmsghdr *nlh) ...@@ -2087,13 +2087,16 @@ static int neightbl_set(struct sk_buff *skb, struct nlmsghdr *nlh)
nla_get_msecs(tbp[i])); nla_get_msecs(tbp[i]));
break; break;
case NDTPA_ANYCAST_DELAY: case NDTPA_ANYCAST_DELAY:
NEIGH_VAR_SET(p, ANYCAST_DELAY, nla_get_msecs(tbp[i])); NEIGH_VAR_SET(p, ANYCAST_DELAY,
nla_get_msecs(tbp[i]));
break; break;
case NDTPA_PROXY_DELAY: case NDTPA_PROXY_DELAY:
NEIGH_VAR_SET(p, PROXY_DELAY, nla_get_msecs(tbp[i])); NEIGH_VAR_SET(p, PROXY_DELAY,
nla_get_msecs(tbp[i]));
break; break;
case NDTPA_LOCKTIME: case NDTPA_LOCKTIME:
NEIGH_VAR_SET(p, LOCKTIME, nla_get_msecs(tbp[i])); NEIGH_VAR_SET(p, LOCKTIME,
nla_get_msecs(tbp[i]));
break; break;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册