[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20130711.120041.496311688309106017.davem@davemloft.net>
Date: Thu, 11 Jul 2013 12:00:41 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dingtianhong@...wei.com
Cc: jiri@...nulli.us, fbl@...hat.com, netdev@...r.kernel.org,
tanxiaojun@...wei.com
Subject: Re: [PATCH 1/2] dummy: fix oops when loading the dummy failed
From: Ding Tianhong <dingtianhong@...wei.com>
Date: Thu, 11 Jul 2013 19:04:02 +0800
> We rename the dummy in modprobe.conf like this:
>
> install dummy0 /sbin/modprobe -o dummy0 --ignore-install dummy
> install dummy1 /sbin/modprobe -o dummy1 --ignore-install dummy
>
> We got oops when we run the command:
>
> modprobe dummy0
> modprobe dummy1
...
> The reason is that when loading dummy, if __rtnl_link_register() return failed,
> the init_module should return and avoid take the wrong path.
>
> Signed-off-by: Tan Xiaojun <tanxiaojun@...wei.com>
> Signed-off-by: Ding Tianhong <dingtianhong@...wei.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists