nlmon: use standard rtnetlink link api for add/del devices
authorJiri Pirko <jiri@resnulli.us>
Tue, 2 Jul 2013 08:55:31 +0000 (10:55 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jul 2013 19:53:17 +0000 (12:53 -0700)
commit7e6d4da837385d9aa2e5fd84e0a6042cddc9e708
tree9e1f56a738aa5b3ec7be6649a6cfb280f2e8cdc3
parent75a493e60ac4bbe2e977e7129d6d8cbb0dd236be
nlmon: use standard rtnetlink link api for add/del devices

It is not nice when netdev is created right after module load and with
some implicit name. So rather change nlmon to use standard rtnl link API.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Acked-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/nlmon.c