All of
 help / color / mirror / Atom feed
From: Stephen Hemminger <>
To: Henner Eisen <>, "David S. Miller" <>
Subject: [PATCH] Allow lapb to be unloaded.
Date: Fri, 18 Jul 2003 15:01:01 -0700	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Without an exit routine lapb can't be unloaded.

Tested on 2.6.0-test1
diff -Nru a/net/lapb/lapb_iface.c b/net/lapb/lapb_iface.c
--- a/net/lapb/lapb_iface.c	Fri Jul 18 14:52:18 2003
+++ b/net/lapb/lapb_iface.c	Fri Jul 18 14:52:18 2003
@@ -443,8 +443,14 @@
 	return 0;
+static void __exit lapb_exit(void)
+	WARN_ON(!list_empty(&lapb_list));
 MODULE_AUTHOR("Jonathan Naylor <>");
 MODULE_DESCRIPTION("The X.25 Link Access Procedure B link layer protocol");

  reply	other threads:[~2003-07-18 22:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-18 20:32 [PATCH] Remove MOD_* from LAPB Stephen Hemminger
2003-07-18 22:01 ` Stephen Hemminger [this message]
2003-07-20  4:47   ` [PATCH] Allow lapb to be unloaded David S. Miller
2003-07-20  4:44 ` [PATCH] Remove MOD_* from LAPB David S. Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.