]> git.baikalelectronics.ru Git - kernel.git/commit
ifb: fix oops when loading the ifb failed
authordingtianhong <dingtianhong@huawei.com>
Thu, 11 Jul 2013 11:04:06 +0000 (19:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jul 2013 19:00:05 +0000 (12:00 -0700)
commite26718a2892f44bf7fb1a0fd823ee2e099a5adae
tree2ca005e6fb807dbbe503b23bbfce86c3a3f4e307
parentc6990f36fc2abd6376fc07dd08f479b97edfe037
ifb: fix oops when loading the ifb failed

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>
drivers/net/ifb.c