[ofa-general] NetEffect, iw_nes and kernel warning

David Miller davem at davemloft.net
Tue Jan 27 16:07:50 PST 2009


From: Roland Dreier <rdreier at cisco.com>
Date: Tue, 27 Jan 2009 15:53:16 -0800

> but actually I still don't see how it's safe for a net driver to
> call skb_linearize() from its transmit routine, since there's a
> chance that that will unconditionally enable BHs?

It's simply not allowed.

dev_queue_xmit() at a higher level can do __skb_linearize()
because it does so before doing the rcu_read_lock_bh().



More information about the general mailing list