aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2014-01-06 12:40:46 +0000
committerAlexander Motin <mav@FreeBSD.org>2014-01-06 12:40:46 +0000
commit0979970a1d4ffa9c13361e91760891d96864ceee (patch)
treea546564be75295a51714060794be28c805a972e1
parentc04dbdba8e0f3677b2f67e0495f933ca3a8da184 (diff)
downloadsrc-0979970a1d4ffa9c13361e91760891d96864ceee.tar.gz
src-0979970a1d4ffa9c13361e91760891d96864ceee.zip
Fix NULL dereference panic on UDP requests introduced in r260229.
Notes
Notes: svn path=/head/; revision=260367
-rw-r--r--sys/rpc/svc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/rpc/svc.h b/sys/rpc/svc.h
index 6ae380b2d8f9..de460144f32d 100644
--- a/sys/rpc/svc.h
+++ b/sys/rpc/svc.h
@@ -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) \