[asterisk-bugs] [JIRA] (DAHLIN-343) Dynamic span modules fail to decrement reference counter for the underlying VLAN interface when unloading

Assen Totin (JIRA) noreply at issues.asterisk.org
Fri Dec 19 17:00:28 CST 2014


    [ https://issues.asterisk.org/jira/browse/DAHLIN-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=224106#comment-224106 ] 

Assen Totin commented on DAHLIN-343:
------------------------------------

Hi, Shaun!

Thanks for your prompt reply.

Managed to test today on a production machine. Works great, no more problems with network restarts. To me the issue is solved - feel free to close the ticket as your discretion. 

WWell,

Assen




> Dynamic span modules fail to decrement reference counter for the underlying VLAN interface when unloading
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: DAHLIN-343
>                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-343
>             Project: DAHDI-Linux
>          Issue Type: Bug
>      Security Level: None
>          Components: dahdi_dynamic, dahdi_dynamic_eth
>    Affects Versions: 2.10.0
>         Environment: Linux 2.6
>            Reporter: Assen Totin
>            Assignee: Russ Meyerriecks
>            Severity: Minor
>         Attachments: 0001-dahdi_dynamic-Release-reference-count-on-network-dev.patch
>
>
> Scope: the issue is present only when a dynamic span is configured on top of a IEEE 802.1q interface (VLAN interface). 
> Effect: when a dynamic span is configured on top of a VLAN interface (e.g., eth0.N) and is later removed, unloading the modules (dahdi_dynamic_eth, dahdi_dynamic) does not decrement the kernel reference counter for the underlying VLAN interface. As a result, the kernel believes the underlying network interface is still in use, refusing to remove it upon network shutdown. The latter means that clean power-off of the Linux OS become impossible and power cycle is almost the only remaining option (especially for remote machines and VMs). 
> Notes: The effect is present only on VLAN interfaces and is not present on regular interfaces (e.g., eth0). Tested only on Linux; because Linux handles network devices differently than most other UNIX, it is likely limited to Linux. 
> Testbed: confirmed on CentOS 5 and 6 VM in ESXi 5.5 with either VMXNET3 or emulated Intel EEPRO 1000 network adapters.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list