rtnetlink: rtnl_link_register() sanity test
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 13 Dec 2011 11:38:00 +0000 (11:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Dec 2011 07:39:29 +0000 (02:39 -0500)
Before adding a struct rtnl_link_ops into link_ops list, check it doesnt
clash with a prior one.

Based on a previous patch from Alexander Smirnov

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found