diff --git a/lnet/include/lnet/lnetctl.h b/lnet/include/lnet/lnetctl.h
index ef52a2533b95dd1332ff3e7dd23f0d2115f47088..b771690563a8a416b966fb74bda0dd449fe8692e 100644
--- a/lnet/include/lnet/lnetctl.h
+++ b/lnet/include/lnet/lnetctl.h
@@ -1,8 +1,6 @@
 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
  * vim:expandtab:shiftwidth=8:tabstop=8:
  *
- * Copyright (C) 2001, 2002 Cluster File Systems, Inc.
- *
  *   This file is part of Portals, http://www.sf.net/projects/lustre/
  *
  *   Portals is free software; you can redistribute it and/or
diff --git a/lnet/include/lnet/ptlctl.h b/lnet/include/lnet/ptlctl.h
index ef52a2533b95dd1332ff3e7dd23f0d2115f47088..b771690563a8a416b966fb74bda0dd449fe8692e 100644
--- a/lnet/include/lnet/ptlctl.h
+++ b/lnet/include/lnet/ptlctl.h
@@ -1,8 +1,6 @@
 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
  * vim:expandtab:shiftwidth=8:tabstop=8:
  *
- * Copyright (C) 2001, 2002 Cluster File Systems, Inc.
- *
  *   This file is part of Portals, http://www.sf.net/projects/lustre/
  *
  *   Portals is free software; you can redistribute it and/or
diff --git a/lnet/klnds/lolnd/lolnd.h b/lnet/klnds/lolnd/lolnd.h
index 9d3d3ff8373564d88633df10ab6244cd21f760ed..2beb40da9649cc1986b5c164bc658eed6bdcf09a 100644
--- a/lnet/klnds/lolnd/lolnd.h
+++ b/lnet/klnds/lolnd/lolnd.h
@@ -1,8 +1,6 @@
 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
  * vim:expandtab:shiftwidth=8:tabstop=8:
  *
- *  Copyright (C) 2004 Cluster File Systems, Inc.
- *
  *   This file is part of Lustre, http://www.lustre.org.
  *
  *   Lustre is free software; you can redistribute it and/or
diff --git a/lnet/klnds/qswlnd/qswlnd.c b/lnet/klnds/qswlnd/qswlnd.c
index 5aff4e9d211085430aa753ff826e41670bef5606..0e8929ff02b174ac7e2406ec3dda95f9d36b595d 100644
--- a/lnet/klnds/qswlnd/qswlnd.c
+++ b/lnet/klnds/qswlnd/qswlnd.c
@@ -1,11 +1,8 @@
 /*
- * Copyright (C) 2002 Cluster File Systems, Inc.
+ * Copyright (C) 2002-2004 Cluster File Systems, Inc.
  *   Author: Eric Barton <eric@bartonsoftware.com>
  *
- * Copyright (C) 2002, Lawrence Livermore National Labs (LLNL)
- * W. Marcus Miller - Based on ksocknal
- *
- * This file is part of Portals, http://www.sf.net/projects/lustre/
+ * This file is part of Portals, http://www.lustre.org
  *
  * Portals is free software; you can redistribute it and/or
  * modify it under the terms of version 2 of the GNU General Public
diff --git a/lnet/klnds/qswlnd/qswlnd_cb.c b/lnet/klnds/qswlnd/qswlnd_cb.c
index 7aee376ce620ae644cc417d9cad9a3d72beba68a..fe17e6abd958dcd3e15368c5e380f3f5cbad841a 100644
--- a/lnet/klnds/qswlnd/qswlnd_cb.c
+++ b/lnet/klnds/qswlnd/qswlnd_cb.c
@@ -4,10 +4,7 @@
  * Copyright (C) 2002 Cluster File Systems, Inc.
  *   Author: Eric Barton <eric@bartonsoftware.com>
  *
- * Copyright (C) 2002, Lawrence Livermore National Labs (LLNL)
- * W. Marcus Miller - Based on ksocknal
- *
- * This file is part of Portals, http://www.sf.net/projects/sandiaportals/
+ * This file is part of Portals, http://www.lustre.org
  *
  * Portals is free software; you can redistribute it and/or
  * modify it under the terms of version 2 of the GNU General Public
diff --git a/lnet/klnds/socklnd/socklnd.h b/lnet/klnds/socklnd/socklnd.h
index 9cfe8589672efce3ba77566109fa1f207644355b..e0d124dfcb985d8cd29e2af4504b749c54c73af2 100644
--- a/lnet/klnds/socklnd/socklnd.h
+++ b/lnet/klnds/socklnd/socklnd.h
@@ -1,13 +1,12 @@
 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
  * vim:expandtab:shiftwidth=8:tabstop=8:
  *
- * Copyright (C) 2001, 2002 Cluster File Systems, Inc.
  *   Author: Zach Brown <zab@zabbo.net>
  *   Author: Peter J. Braam <braam@clusterfs.com>
  *   Author: Phil Schwan <phil@clusterfs.com>
  *   Author: Eric Barton <eric@bartonsoftware.com>
  *
- *   This file is part of Portals, http://www.sf.net/projects/lustre/
+ *   This file is part of Lustre, http://www.lustre.org
  *
  *   Portals is free software; you can redistribute it and/or
  *   modify it under the terms of version 2 of the GNU General Public
diff --git a/lnet/lnet/lib-eq.c b/lnet/lnet/lib-eq.c
index 8ea6fddb12d745b59baf8a1efaf0a9be056668ad..a886ff5b40b0a32d0f068f1f81c94c1b1f38432e 100644
--- a/lnet/lnet/lib-eq.c
+++ b/lnet/lnet/lib-eq.c
@@ -5,9 +5,8 @@
  * Library level Event queue management routines
  *
  *  Copyright (c) 2001-2003 Cluster File Systems, Inc.
- *  Copyright (c) 2001-2002 Sandia National Laboratories
  *
- *   This file is part of Lustre, http://www.sf.net/projects/lustre/
+ *   This file is part of Lustre, http://www.lustre.org
  *
  *   Lustre is free software; you can redistribute it and/or
  *   modify it under the terms of version 2 of the GNU General Public
diff --git a/lnet/lnet/lib-init.c b/lnet/lnet/lib-init.c
index 9d97bc1640431b9a86cc47cdcb3278ed0a8b1352..813063a9e7fe46b6ae1420cc0331d4ad28d2fe1c 100644
--- a/lnet/lnet/lib-init.c
+++ b/lnet/lnet/lib-init.c
@@ -6,9 +6,8 @@
  * Called by the NAL when it initializes.  Safe to call multiple times.
  *
  *  Copyright (c) 2001-2003 Cluster File Systems, Inc.
- *  Copyright (c) 2001-2002 Sandia National Laboratories
  *
- *   This file is part of Lustre, http://www.sf.net/projects/lustre/
+ *   This file is part of Lustre, http://www.lustre.org
  *
  *   Lustre is free software; you can redistribute it and/or
  *   modify it under the terms of version 2 of the GNU General Public
@@ -30,9 +29,6 @@
 #ifdef __KERNEL__
 # include <linux/string.h>      /* for memset() */
 # include <linux/kp30.h>
-# ifdef KERNEL_ADDR_CACHE
-#  include <compute/OS/addrCache/cache.h>
-# endif
 #else
 # include <string.h>
 # include <sys/time.h>
diff --git a/lnet/lnet/lib-md.c b/lnet/lnet/lib-md.c
index 6deadb8442403f8c9f8753428e481dae5c10e933..ce5cb0b6e6bb6ff848623fcb156518edef14d1ab 100644
--- a/lnet/lnet/lib-md.c
+++ b/lnet/lnet/lib-md.c
@@ -5,9 +5,8 @@
  * Memory Descriptor management routines
  *
  *  Copyright (c) 2001-2003 Cluster File Systems, Inc.
- *  Copyright (c) 2001-2002 Sandia National Laboratories
  *
- *   This file is part of Lustre, http://www.sf.net/projects/lustre/
+ *   This file is part of Lustre, http://www.lustre.org
  *
  *   Lustre is free software; you can redistribute it and/or
  *   modify it under the terms of version 2 of the GNU General Public
diff --git a/lnet/lnet/lib-me.c b/lnet/lnet/lib-me.c
index 9665b4f05fe0167de3f79303f8bc88471435a933..770e2d3f4277aa58050c629e0a5372be0d430cf7 100644
--- a/lnet/lnet/lib-me.c
+++ b/lnet/lnet/lib-me.c
@@ -5,9 +5,8 @@
  * Match Entry management routines
  *
  *  Copyright (c) 2001-2003 Cluster File Systems, Inc.
- *  Copyright (c) 2001-2002 Sandia National Laboratories
  *
- *   This file is part of Lustre, http://www.sf.net/projects/lustre/
+ *   This file is part of Lustre, http://www.lustre.org
  *
  *   Lustre is free software; you can redistribute it and/or
  *   modify it under the terms of version 2 of the GNU General Public
@@ -50,8 +49,6 @@ lib_api_me_attach(nal_t *apinal,
         if (portal >= tbl->size)
                 return PTL_PT_INDEX_INVALID;
 
-        /* Should check for valid matchid, but not yet */
-
         me = lib_me_alloc (nal);
         if (me == NULL)
                 return PTL_NO_SPACE;
@@ -96,8 +93,6 @@ lib_api_me_insert(nal_t *apinal,
         if (new_me == NULL)
                 return PTL_NO_SPACE;
 
-        /* Should check for valid matchid, but not yet */
-
         LIB_LOCK(nal, flags);
 
         current_me = ptl_handle2me(current_meh, nal);
diff --git a/lnet/lnet/lib-move.c b/lnet/lnet/lib-move.c
index d584f1cb919ede5b8029dd3c1c4c330f99104768..ee0f0b491df1db79c131872e26041c0d4499c65a 100644
--- a/lnet/lnet/lib-move.c
+++ b/lnet/lnet/lib-move.c
@@ -5,9 +5,8 @@
  * Data movement routines
  *
  *  Copyright (c) 2001-2003 Cluster File Systems, Inc.
- *  Copyright (c) 2001-2002 Sandia National Laboratories
  *
- *   This file is part of Lustre, http://www.sf.net/projects/lustre/
+ *   This file is part of Lustre, http://www.lustre.org
  *
  *   Lustre is free software; you can redistribute it and/or
  *   modify it under the terms of version 2 of the GNU General Public
diff --git a/lnet/lnet/lib-msg.c b/lnet/lnet/lib-msg.c
index 54e89bcf403ddd15b99f488443458463cb5cc692..4d17c7de15bcb8e95db077d8939631543cdb4807 100644
--- a/lnet/lnet/lib-msg.c
+++ b/lnet/lnet/lib-msg.c
@@ -5,9 +5,8 @@
  * Message decoding, parsing and finalizing routines
  *
  *  Copyright (c) 2001-2003 Cluster File Systems, Inc.
- *  Copyright (c) 2001-2002 Sandia National Laboratories
  *
- *   This file is part of Lustre, http://www.sf.net/projects/lustre/
+ *   This file is part of Lustre, http://www.lustre.org
  *
  *   Lustre is free software; you can redistribute it and/or
  *   modify it under the terms of version 2 of the GNU General Public
diff --git a/lnet/lnet/lib-ni.c b/lnet/lnet/lib-ni.c
index 0f298a060df32dc1c1002f3f6539e1aec75be94d..75086747e99f355285eddab993eb0c73697a7b98 100644
--- a/lnet/lnet/lib-ni.c
+++ b/lnet/lnet/lib-ni.c
@@ -5,9 +5,8 @@
  * Network status registers and distance functions.
  *
  *  Copyright (c) 2001-2003 Cluster File Systems, Inc.
- *  Copyright (c) 2001-2002 Sandia National Laboratories
  *
- *   This file is part of Lustre, http://www.sf.net/projects/lustre/
+ *   This file is part of Lustre, http://www.lustre.org
  *
  *   Lustre is free software; you can redistribute it and/or
  *   modify it under the terms of version 2 of the GNU General Public
@@ -26,41 +25,10 @@
 #define DEBUG_SUBSYSTEM S_PORTALS
 #include <portals/lib-p30.h>
 
-#define MAX_DIST 18446744073709551615ULL
-
 int lib_api_ni_status (nal_t *apinal, ptl_sr_index_t sr_idx,
                        ptl_sr_value_t *status)
 {
-        lib_nal_t      *nal = apinal->nal_data;
-        lib_ni_t       *ni = &nal->libnal_ni;
-        lib_counters_t *count = &ni->ni_counters;
-
-        switch (sr_idx) {
-        case PTL_SR_DROP_COUNT:
-                *status = count->drop_count;
-                return PTL_OK;
-        case PTL_SR_DROP_LENGTH:
-                *status = count->drop_length;
-                return PTL_OK;
-        case PTL_SR_RECV_COUNT:
-                *status = count->recv_count;
-                return PTL_OK;
-        case PTL_SR_RECV_LENGTH:
-                *status = count->recv_length;
-                return PTL_OK;
-        case PTL_SR_SEND_COUNT:
-                *status = count->send_count;
-                return PTL_OK;
-        case PTL_SR_SEND_LENGTH:
-                *status = count->send_length;
-                return PTL_OK;
-        case PTL_SR_MSGS_MAX:
-                *status = count->msgs_max;
-                return PTL_OK;
-        default:
-                *status = 0;
-                return PTL_SR_INDEX_INVALID;
-        }
+        return PTL_FAIL;
 }
 
 
diff --git a/lnet/lnet/lib-pid.c b/lnet/lnet/lib-pid.c
index ff2a601039a2f6f4ef18e40158634289b52da0f1..519730831d607192c0e1912836b5d0752d59df83 100644
--- a/lnet/lnet/lib-pid.c
+++ b/lnet/lnet/lib-pid.c
@@ -5,10 +5,8 @@
  *
  * Process identification routines
  * Copyright (C) 2001-2003 Cluster File Systems, Inc.
- * Copyright (C) 2001-2003 Cluster File Systems, Inc.
- *
  *
- *   This file is part of Lustre, http://www.sf.net/projects/lustre/
+ *   This file is part of Lustre, http://www.lustre.org
  *
  *   Lustre is free software; you can redistribute it and/or
  *   modify it under the terms of version 2 of the GNU General Public
diff --git a/lnet/router/router.h b/lnet/router/router.h
index 27e49837a278fabbbd222914430a1ae8360c80f9..af3c9664ac52ab1b0e3a19ecabf61623dd07e1b8 100644
--- a/lnet/router/router.h
+++ b/lnet/router/router.h
@@ -1,10 +1,7 @@
 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
  * vim:expandtab:shiftwidth=8:tabstop=8:
  *
- * Copyright (C) 2002 Cluster File Systems, Inc.
- *
- *   This file is part of Portals
- *   http://sourceforge.net/projects/sandiaportals/
+ *   This file is part of Lustre, http://www.lustre.org
  *
  *   Portals is free software; you can redistribute it and/or
  *   modify it under the terms of version 2 of the GNU General Public