Whamcloud - gitweb
* qswnal descriptor leak fix
authoreeb <eeb>
Tue, 2 Sep 2003 13:22:16 +0000 (13:22 +0000)
committereeb <eeb>
Tue, 2 Sep 2003 13:22:16 +0000 (13:22 +0000)
*   socknal Makefile.am fix

lnet/klnds/qswlnd/qswlnd_cb.c
lnet/klnds/socklnd/Makefile.am
lustre/obdclass/class_obd.c
lustre/portals/knals/qswnal/qswnal_cb.c
lustre/portals/knals/socknal/Makefile.am

index ede36d1..8d5f70b 100644 (file)
@@ -674,6 +674,7 @@ kqswnal_sendmsg (nal_cb_t     *nal,
         rc = kqswnal_launch (ktx);
         if (rc != 0) {                    /* failed? */
                 CERROR ("Failed to send packet to "LPX64": %d\n", nid, rc);
+                kqswnal_put_idle_tx (ktx);
                 return (PTL_FAIL);
         }
 
index d6c717c..acdba5e 100644 (file)
@@ -11,7 +11,7 @@ EXTRA_PROGRAMS = ksocknal
 
 # If you don't build with -O2, your modules won't insert, becahse htonl is
 # just special that way.
-CFLAGS += -O2
+AM_CFLAGS = -O2
 
 DEFS =
 ksocknal_SOURCES = socknal.c socknal_cb.c socknal.h
index 2efee5b..192b15c 100644 (file)
@@ -916,7 +916,7 @@ static void cleanup_obdclass(void)
  * kernel patch */
 #ifdef __KERNEL__
 #include <linux/lustre_version.h>
-#define LUSTRE_MIN_VERSION 23
+#define LUSTRE_MIN_VERSION 21
 #define LUSTRE_MAX_VERSION 23
 #if (LUSTRE_KERNEL_VERSION < LUSTRE_MIN_VERSION)
 # error Cannot continue: Your Lustre kernel patch is older than the sources
index ede36d1..8d5f70b 100644 (file)
@@ -674,6 +674,7 @@ kqswnal_sendmsg (nal_cb_t     *nal,
         rc = kqswnal_launch (ktx);
         if (rc != 0) {                    /* failed? */
                 CERROR ("Failed to send packet to "LPX64": %d\n", nid, rc);
+                kqswnal_put_idle_tx (ktx);
                 return (PTL_FAIL);
         }
 
index d6c717c..acdba5e 100644 (file)
@@ -11,7 +11,7 @@ EXTRA_PROGRAMS = ksocknal
 
 # If you don't build with -O2, your modules won't insert, becahse htonl is
 # just special that way.
-CFLAGS += -O2
+AM_CFLAGS = -O2
 
 DEFS =
 ksocknal_SOURCES = socknal.c socknal_cb.c socknal.h