>
> > 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