Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 47010
b: refs/heads/master
c: 1539b98
h: refs/heads/master
v: v3
  • Loading branch information
Jiri Bohac authored and David S. Miller committed Feb 9, 2007
1 parent 49b17d1 commit cf0bcdc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 42c05f6e6e3d57495054a4cae35850b3f7d1c343
refs/heads/master: 1539b98b561754252dd520b98fa03a688a4f81b5
24 changes: 16 additions & 8 deletions trunk/net/ipx/af_ipx.c
Original file line number Diff line number Diff line change
Expand Up @@ -2035,19 +2035,27 @@ static void __exit ipx_proto_finito(void)

ipxitf_cleanup();

unregister_snap_client(pSNAP_datalink);
pSNAP_datalink = NULL;
if (pSNAP_datalink) {
unregister_snap_client(pSNAP_datalink);
pSNAP_datalink = NULL;
}

unregister_8022_client(p8022_datalink);
p8022_datalink = NULL;
if (p8022_datalink) {
unregister_8022_client(p8022_datalink);
p8022_datalink = NULL;
}

dev_remove_pack(&ipx_8023_packet_type);
destroy_8023_client(p8023_datalink);
p8023_datalink = NULL;
if (p8023_datalink) {
destroy_8023_client(p8023_datalink);
p8023_datalink = NULL;
}

dev_remove_pack(&ipx_dix_packet_type);
destroy_EII_client(pEII_datalink);
pEII_datalink = NULL;
if (pEII_datalink) {
destroy_EII_client(pEII_datalink);
pEII_datalink = NULL;
}

proto_unregister(&ipx_proto);
sock_unregister(ipx_family_ops.family);
Expand Down

0 comments on commit cf0bcdc

Please sign in to comment.