diff options
| author | Tommy Christensen <tommy.christensen@tpack.net> | 2004-11-02 20:38:16 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-11-02 20:38:16 -0800 |
| commit | 59c1b20723b9c9482ed42ffe6713dc7ff5c33592 (patch) | |
| tree | 4288d608563a03e98f515f272ab1c9a2a6bcbc55 /include/linux/rtnetlink.h | |
| parent | 8dc2f49f54d8192a9707300342fd1df93b0228cc (diff) | |
[NET]: Move local_bh_enable back in dev_queue_xmit
Based upon a patch from Herbert Xu:
> Hi Ingo:
>
> Your recent fix to dev_queue_xmit moved the local_bh_disable to
> include stuff like skb_linearize and skb_checksum_help. These
> are potentially expensive operations. Since they don't need to
> run with preempt off, we could simply move the local_bh_enable
> up instead.
No, this breaks the normal return path.
How about this instead?
Signed-off-by: Tommy S. Christensen <tommy.christensen@tpack.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/rtnetlink.h')
0 files changed, 0 insertions, 0 deletions
