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

*** 102,113 **** tkip_attach(struct ieee80211com *ic, struct ieee80211_key *k) { struct tkip_ctx *ctx; ctx = kmem_zalloc(sizeof (struct tkip_ctx), KM_SLEEP); - if (ctx == NULL) - return (NULL); ctx->tc_ic = ic; return (ctx); } --- 102,111 ----