Hello community, here is the log from the commit of package libcxgb4-rdmav2 for openSUSE:Factory checked in at 2016-04-28 16:56:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcxgb4-rdmav2 (Old) and /work/SRC/openSUSE:Factory/.libcxgb4-rdmav2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcxgb4-rdmav2" Changes: -------- --- /work/SRC/openSUSE:Factory/libcxgb4-rdmav2/libcxgb4-rdmav2.changes 2015-02-16 21:14:22.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libcxgb4-rdmav2.new/libcxgb4-rdmav2.changes 2016-04-28 17:01:47.000000000 +0200 @@ -1,0 +2,23 @@ +Mon Apr 25 07:47:01 UTC 2016 - [email protected] + +- Update to version 1.3.6 + * libcxgb4: skip TERMINATE CQEs before testing for errors + * libcxgb4:Eliminate warnings seen with buildall.sh on a 32 bit system. + + fixes warnings due to improper typecasting. + + suppresses warnings due to unused variables. + + typecasted u64 value to long long to avoid warnings on x64bit systems. + * libcxgb4: add NULL check for wr->sg_list + 0B reads with a NULL sg cause a seg fault. So if there is no sg_list, then + set the WQE read length to 0. + * libcxgb4: update config.sub and config.guess + libcxgb4 had old versions of these files that caused + configure to fail on ppc64le platforms. + * libcxgb4: remove config/missing + This file gets installed via autoconf and shouldnt be in the repo. + * Gracefully handle unknown CQE status errors + c4iw_poll_cq_on() shouldn't fail the poll operation just because the + CQE status is unknown. Rather, it should map this to the "fatal error" + status and log the anomaly. +- Update libcxgb4-rdmav2-ah_message.patch + +------------------------------------------------------------------- Old: ---- libcxgb4-1.3.5.tar.gz New: ---- libcxgb4-1.3.6.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcxgb4-rdmav2.spec ++++++ --- /var/tmp/diff_new_pack.6mZkv8/_old 2016-04-28 17:01:50.000000000 +0200 +++ /var/tmp/diff_new_pack.6mZkv8/_new 2016-04-28 17:01:50.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package libcxgb4-rdmav2 # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: libcxgb4-rdmav2 Summary: Chelsio T4 iWARP RNIC OpenIB Userspace Library -Version: 1.3.5 +Version: 1.3.6 Release: 0 License: GPL-2.0 or BSD-2-Clause Group: System/Libraries ++++++ libcxgb4-1.3.5.tar.gz -> libcxgb4-1.3.6.tar.gz ++++++ ++++ 3541 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libcxgb4-1.3.5/ChangeLog new/libcxgb4-1.3.6/ChangeLog --- old/libcxgb4-1.3.5/ChangeLog 2014-07-31 18:28:31.000000000 +0200 +++ new/libcxgb4-1.3.6/ChangeLog 2015-12-07 17:42:33.000000000 +0100 @@ -1,14 +1,93 @@ -commit 6a417d903b9add7c8ab2b71ac11c85c46671e020 +commit 204dcd6e76070f6b8b1d8e4f04d9e752eb3d9809 +Author: root <[email protected]> +Date: Mon Dec 7 08:38:24 2015 -0800 + + Spin release 1.3.6. + + Signed-off-by: Steve Wise <[email protected]> + +commit 2a4fbf58f2ea1fc47adcc7b2b4efd78227c65b97 +Author: Steve Wise <[email protected]> +Date: Mon Dec 7 08:30:55 2015 -0800 + + libcxgb4: skip TERMINATE CQEs before testing for errors + + In poll_cq() if the wq happens to have just transitioned into error state, + and a TERMINATE CQE is the next CQE in the hwcq, then the TERMINATE + is incorrectly returned as a successful RECV CQE. This causes a false + RECV completion. The fix is to skip TERMINATE CQEs first. + + Signed-off-by: Steve Wise <[email protected]> + +commit 793333ea0cc00c977a0134d91b820e51557f4b7c +Author: Steve Wise <[email protected]> +Date: Mon Dec 7 08:30:55 2015 -0800 + + libcxgb4:Eliminate warnings seen with buildall.sh on a 32 bit system. + + ->fixes warnings due to improper typecasting. + ->suppresses warnings due to unused variables. + ->typecasted u64 value to long long to avoid warnings on x64bit systems. + + Signed-off-by: Bharat Potnuri <[email protected]> + Signed-off-by: Steve Wise <[email protected]> + +commit 4b2df073b106e830f2fa2446d1990447bb8c4e10 +Author: Steve Wise <[email protected]> +Date: Mon Dec 7 08:30:55 2015 -0800 + + libcxgb4: add NULL check for wr->sg_list + + 0B reads with a NULL sg cause a seg fault. So if there is no sg_list, then + set the WQE read length to 0. + + Signed-off-by: Steve Wise <[email protected]> + Signed-off-by: Bharat Potnuri <[email protected]> + +commit 0550101d95805a2c53fb6934ed1c02da4e28bde2 +Author: Steve Wise <[email protected]> +Date: Mon Dec 7 08:30:55 2015 -0800 + + libcxgb4: update config.sub and config.guess + + libcxgb4 had old versions of these files that caused + configure to fail on ppc64le platforms. + + Signed-off-by: Steve Wise <[email protected]> + +commit 204b6fab0b0aa62a96aedb54704d9babd336c13c +Author: Steve Wise <[email protected]> +Date: Mon Dec 7 08:30:55 2015 -0800 + + libcxgb4: remove config/missing + + This file gets installed via autoconf and shouldnt be in the repo. + + Signed-off-by: Steve Wise <[email protected]> + +commit 43f2862ccfcf19d8aec78c65482956ae41efc486 +Author: Hariprasad Shenai <[email protected]> +Date: Mon Dec 7 08:30:55 2015 -0800 + + Gracefully handle unknown CQE status errors + + c4iw_poll_cq_on() shouldn't fail the poll operation just because the + CQE status is unknown. Rather, it should map this to the "fatal error" + status and log the anomaly. + + Signed-off-by: Hariprasad Shenai <[email protected]> + +commit 2517487f45688ed93b93a1ebf6ece4f33c3f778f Author: Steve Wise <[email protected]> -Date: Thu Jul 31 11:25:22 2014 -0500 +Date: Thu Jul 31 12:10:30 2014 -0500 Spin release 1.3.5. Signed-off-by: Steve Wise <[email protected]> -commit 52ecbea1b908d3b449022e2d75ebe0ca3885bcf2 +commit 9d996e396d4574a72583e4049d487ab5909cf8ac Author: Steve Wise <[email protected]> -Date: Thu Jul 31 11:14:05 2014 -0500 +Date: Thu Jul 31 12:10:30 2014 -0500 libcxb4: use wc_wmb() instead of wmb(). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libcxgb4-1.3.5/config/missing new/libcxgb4-1.3.6/config/missing --- old/libcxgb4-1.3.5/config/missing 2014-06-18 17:14:22.000000000 +0200 +++ new/libcxgb4-1.3.6/config/missing 2015-12-07 19:44:54.000000000 +0100 @@ -1,10 +1,10 @@ #! /bin/sh # Common stub for a few missing GNU programs while installing. -scriptversion=2005-06-08.21 +scriptversion=2009-04-28.21; # UTC -# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005 -# Free Software Foundation, Inc. +# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006, +# 2008, 2009 Free Software Foundation, Inc. # Originally by Fran,cois Pinard <[email protected]>, 1996. # This program is free software; you can redistribute it and/or modify @@ -18,9 +18,7 @@ # GNU General Public License for more details. # You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA -# 02110-1301, USA. +# along with this program. If not, see <http://www.gnu.org/licenses/>. # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a @@ -33,6 +31,8 @@ fi run=: +sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p' +sed_minuso='s/.* -o \([^ ]*\).*/\1/p' # In the cases where this matters, `missing' is being run in the # srcdir already. @@ -44,7 +44,7 @@ msg="missing on your system" -case "$1" in +case $1 in --run) # Try to run requested program, and just exit if it succeeds. run= @@ -77,6 +77,7 @@ aclocal touch file \`aclocal.m4' autoconf touch file \`configure' autoheader touch file \`config.h.in' + autom4te touch the output file, or create a stub one automake touch all \`Makefile.in' files bison create \`y.tab.[ch]', if possible, from existing .[ch] flex create \`lex.yy.c', if possible, from existing .c @@ -86,6 +87,9 @@ tar try tar, gnutar, gtar, then tar without non-portable flags yacc create \`y.tab.[ch]', if possible, from existing .[ch] +Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and +\`g' are ignored when checking the name. + Send bug reports to <[email protected]>." exit $? ;; @@ -103,15 +107,22 @@ esac +# normalize program name to check for. +program=`echo "$1" | sed ' + s/^gnu-//; t + s/^gnu//; t + s/^g//; t'` + # Now exit if we have it, but it failed. Also exit now if we # don't have it and --version was passed (most likely to detect -# the program). -case "$1" in - lex|yacc) +# the program). This is about non-GNU programs, so use $1 not +# $program. +case $1 in + lex*|yacc*) # Not GNU programs, they don't have --version. ;; - tar) + tar*) if test -n "$run"; then echo 1>&2 "ERROR: \`tar' requires --run" exit 1 @@ -135,7 +146,7 @@ # If it does not exist, or fails to run (possibly an outdated version), # try to emulate it. -case "$1" in +case $program in aclocal*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if @@ -145,7 +156,7 @@ touch aclocal.m4 ;; - autoconf) + autoconf*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`${configure_ac}'. You might want to install the @@ -154,7 +165,7 @@ touch configure ;; - autoheader) + autoheader*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified \`acconfig.h' or \`${configure_ac}'. You might want @@ -164,7 +175,7 @@ test -z "$files" && files="config.h" touch_files= for f in $files; do - case "$f" in + case $f in *:*) touch_files="$touch_files "`echo "$f" | sed -e 's/^[^:]*://' -e 's/:.*//'`;; *) touch_files="$touch_files $f.in";; @@ -184,7 +195,7 @@ while read f; do touch "$f"; done ;; - autom4te) + autom4te*) echo 1>&2 "\ WARNING: \`$1' is needed, but is $msg. You might have modified some files without having the @@ -192,8 +203,8 @@ You can get \`$1' as part of \`Autoconf' from any GNU archive site." - file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'` - test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'` + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -f "$file"; then touch $file else @@ -207,80 +218,78 @@ fi ;; - bison|yacc) + bison*|yacc*) echo 1>&2 "\ WARNING: \`$1' $msg. You should only need it if you modified a \`.y' file. You may need the \`Bison' package in order for those modifications to take effect. You can get \`Bison' from any GNU archive site." rm -f y.tab.c y.tab.h - if [ $# -ne 1 ]; then + if test $# -ne 1; then eval LASTARG="\${$#}" - case "$LASTARG" in + case $LASTARG in *.y) SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.c fi SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" y.tab.h fi ;; esac fi - if [ ! -f y.tab.h ]; then + if test ! -f y.tab.h; then echo >y.tab.h fi - if [ ! -f y.tab.c ]; then + if test ! -f y.tab.c; then echo 'main() { return 0; }' >y.tab.c fi ;; - lex|flex) + lex*|flex*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.l' file. You may need the \`Flex' package in order for those modifications to take effect. You can get \`Flex' from any GNU archive site." rm -f lex.yy.c - if [ $# -ne 1 ]; then + if test $# -ne 1; then eval LASTARG="\${$#}" - case "$LASTARG" in + case $LASTARG in *.l) SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'` - if [ -f "$SRCFILE" ]; then + if test -f "$SRCFILE"; then cp "$SRCFILE" lex.yy.c fi ;; esac fi - if [ ! -f lex.yy.c ]; then + if test ! -f lex.yy.c; then echo 'main() { return 0; }' >lex.yy.c fi ;; - help2man) + help2man*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a dependency of a manual page. You may need the \`Help2man' package in order for those modifications to take effect. You can get \`Help2man' from any GNU archive site." - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` - if test -z "$file"; then - file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'` - fi - if [ -f "$file" ]; then + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` + if test -f "$file"; then touch $file else test -z "$file" || exec >$file echo ".ab help2man is required to generate this page" - exit 1 + exit $? fi ;; - makeinfo) + makeinfo*) echo 1>&2 "\ WARNING: \`$1' is $msg. You should only need it if you modified a \`.texi' or \`.texinfo' file, or any other file @@ -289,11 +298,17 @@ DU, IRIX). You might want to install the \`Texinfo' package or the \`GNU make' package. Grab either from any GNU archive site." # The file to touch is that specified with -o ... - file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'` + file=`echo "$*" | sed -n "$sed_output"` + test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"` if test -z "$file"; then # ... or it is the one specified with @setfilename ... infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'` - file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile` + file=`sed -n ' + /^@setfilename/{ + s/.* \([^ ]*\) *$/\1/ + p + q + }' $infile` # ... or it is derived from the source name (dir/f.texi becomes f.info) test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info fi @@ -303,7 +318,7 @@ touch $file ;; - tar) + tar*) shift # We have already tried tar in the generic part. @@ -317,13 +332,13 @@ fi firstarg="$1" if shift; then - case "$firstarg" in + case $firstarg in *o*) firstarg=`echo "$firstarg" | sed s/o//` tar "$firstarg" "$@" && exit 0 ;; esac - case "$firstarg" in + case $firstarg in *h*) firstarg=`echo "$firstarg" | sed s/h//` tar "$firstarg" "$@" && exit 0 @@ -356,5 +371,6 @@ # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" # End: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libcxgb4-1.3.5/configure.in new/libcxgb4-1.3.6/configure.in --- old/libcxgb4-1.3.5/configure.in 2014-07-31 18:28:31.000000000 +0200 +++ new/libcxgb4-1.3.6/configure.in 2015-12-07 17:42:33.000000000 +0100 @@ -1,11 +1,11 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) -AC_INIT(libcxgb4, 1.3.5, [email protected]) +AC_INIT(libcxgb4, 1.3.6, [email protected]) AC_CONFIG_SRCDIR([src/libcxgb4.h]) AC_CONFIG_AUX_DIR(config) AC_CONFIG_HEADERS(config.h) -AM_INIT_AUTOMAKE(libcxgb4, 1.3.5) +AM_INIT_AUTOMAKE(libcxgb4, 1.3.6) AM_PROG_LIBTOOL AC_ARG_ENABLE(libcheck, [ --disable-libcheck do not test for presence of ib libraries], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libcxgb4-1.3.5/libcxgb4.spec new/libcxgb4-1.3.6/libcxgb4.spec --- old/libcxgb4-1.3.5/libcxgb4.spec 2014-07-31 18:29:05.000000000 +0200 +++ new/libcxgb4-1.3.6/libcxgb4.spec 2015-12-07 19:45:10.000000000 +0100 @@ -1,7 +1,7 @@ -%define ver 1.3.5 +%define ver 1.3.6 Name: libcxgb4 -Version: 1.3.5 +Version: 1.3.6 Release: 1%{?dist} Summary: Chelsio T4/T5 RNIC Open Fabrics Userspace Library diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libcxgb4-1.3.5/libcxgb4.spec.in new/libcxgb4-1.3.6/libcxgb4.spec.in --- old/libcxgb4-1.3.5/libcxgb4.spec.in 2014-07-31 18:28:31.000000000 +0200 +++ new/libcxgb4-1.3.6/libcxgb4.spec.in 2015-12-07 17:42:33.000000000 +0100 @@ -1,7 +1,7 @@ %define ver @VERSION@ Name: libcxgb4 -Version: 1.3.5 +Version: 1.3.6 Release: 1%{?dist} Summary: Chelsio T4/T5 RNIC Open Fabrics Userspace Library diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libcxgb4-1.3.5/src/cq.c new/libcxgb4-1.3.6/src/cq.c --- old/libcxgb4-1.3.5/src/cq.c 2014-06-18 17:14:22.000000000 +0200 +++ new/libcxgb4-1.3.6/src/cq.c 2015-12-07 17:42:29.000000000 +0100 @@ -322,11 +322,11 @@ static void dump_cqe(void *arg) { u64 *p = arg; - syslog(LOG_NOTICE, "cxgb4 err cqe %016lx %016lx %016lx %016lx\n", - be64_to_cpu(p[0]), - be64_to_cpu(p[1]), - be64_to_cpu(p[2]), - be64_to_cpu(p[3])); + syslog(LOG_NOTICE, "cxgb4 err cqe %016llx %016llx %016llx %016llx\n", + (long long)be64_to_cpu(p[0]), + (long long)be64_to_cpu(p[1]), + (long long)be64_to_cpu(p[2]), + (long long)be64_to_cpu(p[3])); } /* @@ -428,6 +428,11 @@ advance_oldest_read(wq); } + if (CQE_OPCODE(hw_cqe) == FW_RI_TERMINATE) { + ret = -EAGAIN; + goto skip_cqe; + } + if (CQE_STATUS(hw_cqe) || t4_wq_in_error(wq)) { *cqe_flushed = (CQE_STATUS(hw_cqe) == T4_ERR_SWFLUSH); wq->error = 1; @@ -439,11 +444,6 @@ goto proc_cqe; } - if (CQE_OPCODE(hw_cqe) == FW_RI_TERMINATE) { - ret = -EAGAIN; - goto skip_cqe; - } - /* * RECV completion. */ @@ -697,7 +697,7 @@ default: PDBG("Unexpected cqe_status 0x%x for QPID=0x%0x\n", CQE_STATUS(&cqe), CQE_QPID(&cqe)); - ret = -EINVAL; + wc->status = IBV_WC_FATAL_ERR; } } if (wc->status && wc->status != IBV_WC_WR_FLUSH_ERR) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libcxgb4-1.3.5/src/qp.c new/libcxgb4-1.3.6/src/qp.c --- old/libcxgb4-1.3.5/src/qp.c 2014-07-31 18:28:31.000000000 +0200 +++ new/libcxgb4-1.3.6/src/qp.c 2015-12-07 17:42:29.000000000 +0100 @@ -275,9 +275,9 @@ len16 = be64_to_cpu(*p) & 0xff; while (len16--) { - printf("%02x: %016lx ", (u8)(unsigned long)p, be64_to_cpu(*p)); + printf("%02x: %016llx ", (u8)(unsigned long)p, (long long)be64_to_cpu(*p)); p++; - printf("%016lx\n", be64_to_cpu(*p)); + printf("%016llx\n", (long long)be64_to_cpu(*p)); p++; } } @@ -287,7 +287,7 @@ struct ibv_modify_qp cmd; struct ibv_qp_attr attr; int mask; - int ret; + int __attribute__((unused)) ret; wc_wmb(); if (qid == qhp->wq.sq.qid) { @@ -362,7 +362,8 @@ err = build_rdma_read(wqe, wr, &len16); if (err) break; - swsqe->read_len = wr->sg_list[0].length; + swsqe->read_len = wr->sg_list ? wr->sg_list[0].length : + 0; if (!qhp->wq.sq.oldest_read) qhp->wq.sq.oldest_read = swsqe; break; ++++++ libcxgb4-rdmav2-ah_message.patch ++++++ --- /var/tmp/diff_new_pack.6mZkv8/_old 2016-04-28 17:01:50.000000000 +0200 +++ /var/tmp/diff_new_pack.6mZkv8/_new 2016-04-28 17:01:50.000000000 +0200 @@ -7,7 +7,7 @@ --- configure.in.orig 2014-04-03 12:02:58.809101866 +0200 +++ configure.in 2014-04-03 12:04:28.451029934 +0200 @@ -8,7 +8,7 @@ - AM_INIT_AUTOMAKE(libcxgb4, 1.3.5) + AM_INIT_AUTOMAKE(libcxgb4, 1.3.6) AM_PROG_LIBTOOL -AC_ARG_ENABLE(libcheck, [ --disable-libcheck do not test for presence of ib libraries],
