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);
}
# 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
* 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
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);
}
# 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