David Lin <dlin@...> writes:

> +static inline struct sk_buff *mwl_tx_do_amsdu(struct mwl_priv *priv,
> +                                           int desc_num,
> ...
> +             amsdu_pkts = (struct sk_buff_head *)
> +                     kmalloc(sizeof(*amsdu_pkts), GFP_KERNEL);
> +             if (!amsdu_pkts) {

Should GFP_ATOMIC be used here instead of GFP_KERNEL? This function could be
called in interrupt context.

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to