Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jan 2014 12:40:47 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r260367 - head/sys/rpc
Message-ID:  <201401061240.s06CelN1040519@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Mon Jan  6 12:40:46 2014
New Revision: 260367
URL: http://svnweb.freebsd.org/changeset/base/260367

Log:
  Fix NULL dereference panic on UDP requests introduced in r260229.

Modified:
  head/sys/rpc/svc.h

Modified: head/sys/rpc/svc.h
==============================================================================
--- head/sys/rpc/svc.h	Mon Jan  6 12:28:35 2014	(r260366)
+++ head/sys/rpc/svc.h	Mon Jan  6 12:40:46 2014	(r260367)
@@ -411,7 +411,7 @@ struct svc_req {
 	(*(xprt)->xp_ops->xp_stat)(xprt)
 
 #define SVC_ACK(xprt, ack)				\
-	((xprt)->xp_ops->xp_stat == NULL ? FALSE :	\
+	((xprt)->xp_ops->xp_ack == NULL ? FALSE :	\
 	    ((ack) == NULL ? TRUE : (*(xprt)->xp_ops->xp_ack)((xprt), (ack))))
 
 #define SVC_REPLY(xprt, msg, addr, m, seq)			\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401061240.s06CelN1040519>