[ovs-dev] [PATCH] lib/netdev-windows.c: Make the init function dummy
Nithin Raju
nithin at vmware.com
Wed Oct 8 00:20:29 UTC 2014
On Oct 7, 2014, at 4:59 PM, Gurucharan Shetty <shettyg at nicira.com>
wrote:
> On Tue, Oct 7, 2014 at 4:35 PM, Nithin Raju <nithin at vmware.com> wrote:
>> The init function must be dummy for the unit tests to pass. The
>> unit tests don't require the kernel datpaath to be loaded, and
>> without the kernel datapath, any calls netlink calls will fail.
>>
>> Signed-off-by: Nithin Raju <nithin at vmware.com>
>> Reported-by: Gurucharan Shetty <gshetty at nicira.com>
>
> Wouldn't it be better to simply not set .init for NETDEV_WINDOWS_CLASS
> in this case?
> Couple of trivial comments below.
I was under the impression that .init is a mandatory function. Looks like it is not.
Fixed, and other comments are not applicable now.
thanks
-- Nithin
More information about the dev
mailing list