diff options
author | Pavel Emelianov <xemul@openvz.org> | 2007-08-08 22:16:38 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-10 16:47:45 -0700 |
commit | e71992889ee289a87f6641cfa40d64a5699bcb53 (patch) | |
tree | d078d6a4d98348518229ad12ad3ecc847680c884 /net/nonet.c | |
parent | bea3348eef27e6044b6161fd04c3152215f96411 (diff) | |
download | blackbird-op-linux-e71992889ee289a87f6641cfa40d64a5699bcb53.tar.gz blackbird-op-linux-e71992889ee289a87f6641cfa40d64a5699bcb53.zip |
[RTNETLINK]: Introduce generic rtnl_create_link().
This routine gets the parsed rtnl attributes and creates a new
link with generic info (IFLA_LINKINFO policy). Its intention
is to help the drivers, that need to create several links at
once (like VETH).
This is nothing but a copy-paste-ed part of rtnl_newlink() function
that is responsible for creation of new device.
Signed-off-by: Pavel Emelianov <xemul@openvz.org>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nonet.c')
0 files changed, 0 insertions, 0 deletions