Re: cli() / sti()

A.N.Kuznetsov (kuznet@ms2.inr.ac.ru)
Fri, 20 Jun 1997 19:08:53 +0400 (MSD)


Hello!

>
> > In ioctl part start_bh_atomic/end_bh_atomic is good replacement.
> > In transmitter just delete them. hard_start_xmit's are serialized
> > by top layer at the moment.
>
> Are you sure.

I am sure :-)

> As it stands at the moment a hard_start_xmit from a user
> context can be interrupted by a timer_bh hard_start_xmit
>

Just remove bh_atomic around do_dev_queue_xmit to make sure,
that they are strictly serialized at the moment :-)

Alexey Kuznetsov