diff options
author | Christoph Hellwig <hch@lst.de> | 2005-06-03 01:36:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-06-03 01:36:00 +0200 |
commit | b597ef4712c05c962640a655386a7f06cc1a1fbc (patch) | |
tree | af2a1822d63cf447dd6e9b58808ea22341c85955 /init | |
parent | [IPV6]: Kill export of fl6_sock_lookup. (diff) | |
download | linux-b597ef4712c05c962640a655386a7f06cc1a1fbc.tar.xz linux-b597ef4712c05c962640a655386a7f06cc1a1fbc.zip |
[NET]: Fix locking in shaper driver.
o use a semaphore instead of an opencoded and racy lock
o move locking out of shaper_kick and into the callers - most just
released the lock before calling shaper_kick
o remove in_interrupt() tests. from ->close we can always block, from
->hard_start_xmit and timer context never
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions