Skip to content

Commit

Permalink
Initialization of net_device_interface::monitor_count corrected
Browse files Browse the repository at this point in the history
Fixes #8839

Signed-off-by: Siarzhuk Zharski <zharik@gmx.li>
  • Loading branch information
zelenoviy authored and siarzhuk committed Dec 22, 2012
1 parent e9191cc commit 944235d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/add-ons/kernel/network/stack/device_interfaces.cpp
Expand Up @@ -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;

Expand Down

0 comments on commit 944235d

Please sign in to comment.