|
@@ -1591,7 +1591,7 @@ int sctp_assoc_lookup_laddr(struct sctp_association *asoc,
|
|
|
/* Set an association id for a given association */
|
|
|
int sctp_assoc_set_id(struct sctp_association *asoc, gfp_t gfp)
|
|
|
{
|
|
|
- bool preload = gfp & __GFP_WAIT;
|
|
|
+ bool preload = !!(gfp & __GFP_WAIT);
|
|
|
int ret;
|
|
|
|
|
|
/* If the id is already assigned, keep it. */
|