aboutsummaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2018-11-06 12:51:16 -0800
committerDavid S. Miller <davem@davemloft.net>2018-11-06 15:00:45 -0800
commit68d57f3b1d1a87b4022a0a7463126d7ea172bda1 (patch)
treea1961d9305000dc38c7ec2fc315a818b710e4055 /.gitignore
parentnet: Add extack argument to ip_fib_metrics_init (diff)
downloadlinux-dev-68d57f3b1d1a87b4022a0a7463126d7ea172bda1.tar.xz
linux-dev-68d57f3b1d1a87b4022a0a7463126d7ea172bda1.zip
rtnetlink: Add more extack messages to rtnl_newlink
Add extack arg to the nla_parse_nested calls in rtnl_newlink, and add messages for unknown device type and link network namespace id. In particular, it improves the failure message when the wrong link type is used. From $ ip li add bond1 type bonding RTNETLINK answers: Operation not supported to $ ip li add bond1 type bonding Error: Unknown device type. (The module name is bonding but the link type is bond.) Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions