ifb: fix oops when loading the ifb failed
authordingtianhong <dingtianhong@huawei.com>
Thu, 11 Jul 2013 11:04:06 +0000 (19:04 +0800)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 May 2014 05:53:46 +0000 (07:53 +0200)
commit5393c4b20b6fe78df930a0fe1821ec72ba735541
treeaff9cd9da811019ea26fe1bc047bc6f539dca689
parent8665a8c475b12393bb8eed9b3c7401da9513d3c1
ifb: fix oops when loading the ifb failed

[ Upstream commit f2966cd5691058b8674a20766525bedeaea9cbcf ]

If __rtnl_link_register() return faild when loading the ifb, it will
take the wrong path and get oops, so fix it just like dummy.

Signed-off-by: Ding Tianhong <dingtianhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
drivers/net/ifb.c