Fix NULL dereference panic on UDP requests introduced in r260229.
This commit is contained in:
parent
1b1ca7f807
commit
b421f931ee
@ -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) \
|
||||
|
Loading…
Reference in New Issue
Block a user