提交 0f7bbd58 编写于 作者: E Eric W. Biederman 提交者: David S. Miller

mpls: Better error code for unsupported option.

Signed-off-by: N"Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 19d0c341
......@@ -348,7 +348,7 @@ static int mpls_route_add(struct mpls_route_config *cfg)
goto errout;
/* Append makes no sense with mpls */
err = -EINVAL;
err = -EOPNOTSUPP;
if (cfg->rc_nlflags & NLM_F_APPEND)
goto errout;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册