Print this page
5253 kmem_alloc/kmem_zalloc won't fail with KM_SLEEP
5254 getrbuf won't fail with KM_SLEEP

*** 85,96 **** ccmp_attach(struct ieee80211com *ic, struct ieee80211_key *k) { struct ccmp_ctx *ctx; ctx = kmem_zalloc(sizeof (struct ccmp_ctx), KM_SLEEP); - if (ctx == NULL) - return (NULL); ctx->cc_ic = ic; return (ctx); } --- 85,94 ----