diff options
Diffstat (limited to 'net/sctp')
-rw-r--r-- | net/sctp/associola.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/associola.c b/net/sctp/associola.c index 58bbb731fd26..9e0509ce2f84 100644 --- a/net/sctp/associola.c +++ b/net/sctp/associola.c | |||
@@ -1591,7 +1591,7 @@ int sctp_assoc_lookup_laddr(struct sctp_association *asoc, | |||
1591 | /* Set an association id for a given association */ | 1591 | /* Set an association id for a given association */ |
1592 | int sctp_assoc_set_id(struct sctp_association *asoc, gfp_t gfp) | 1592 | int sctp_assoc_set_id(struct sctp_association *asoc, gfp_t gfp) |
1593 | { | 1593 | { |
1594 | bool preload = gfp & __GFP_WAIT; | 1594 | bool preload = !!(gfp & __GFP_WAIT); |
1595 | int ret; | 1595 | int ret; |
1596 | 1596 | ||
1597 | /* If the id is already assigned, keep it. */ | 1597 | /* If the id is already assigned, keep it. */ |