Bug 99711

Summary: AX25 ROSE module fails to unload
Product: Networking Reporter: Richard Stearn (richard)
Component: OtherAssignee: Stephen Hemminger (stephen)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6,3.x,4.x Subsystem:
Regression: No Bisected commit-id:
Attachments: Adding usage count and socket locking to ROSE module.

Description Richard Stearn 2015-06-09 11:58:56 UTC
Created attachment 179241 [details]
Adding usage count and socket locking to ROSE module.

The ROSE kernel module fails to unload as the usage count is non-zero.

To reproduce:
  Requires AX25 and ROSE modules to be built
  AX25 library, tools and applications to be installed
  Configure a ROSE interface
  Send at least one packet over the interface
  Tear down the ROSE link
  The ROSE module will fail to unload with a random number in the device usage count.
  Requires a reboot to remove the module.