commit | 387e2b0439026aa738a9edca15a57e5c0bcb4dfc | [log] [tgz] |
---|---|---|
author | Stephen Hemminger <shemminger@osdl.org> | Tue May 23 15:20:25 2006 -0700 |
committer | David S. Miller <davem@davemloft.net> | Tue May 23 15:20:25 2006 -0700 |
tree | 5d4e0349a0119fcff5278c1077b2b2888933d441 | |
parent | 4a063739138e2c4e933188d641f1593e01ce8285 [diff] |
[BRIDGE]: need to ref count the LLC sap Bridge will OOPS on removal if other application has the SAP open. The bridge SAP might be shared with other usages, so need to do reference counting on module removal rather than explicit close/delete. Since packet might arrive after or during removal, need to clear the receive function handle, so LLC only hands it to user (if any). Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>