Initialization of net_device_interface::monitor_count corrected

Fixes #8839

Signed-off-by: Siarzhuk Zharski <[email protected]>
This commit is contained in:
Evgeny Abdraimov
2012-12-22 22:19:55 +01:00
committed by Siarzhuk Zharski
parent e9191cc2d1
commit 944235ddd4
@@ -182,6 +182,7 @@ allocate_device_interface(net_device* device, net_device_module_info* module)
interface->device = device;
interface->up_count = 0;
interface->ref_count = 1;
interface->monitor_count = 0;
interface->deframe_func = NULL;
interface->deframe_ref_count = 0;