1. 05 10月, 2009 3 次提交
  2. 02 10月, 2009 1 次提交
  3. 01 10月, 2009 3 次提交
    • E
      net: restore tx timestamping for accelerated vlans · 81bbb3d4
      Eric Dumazet 提交于
      Since commit 9b22ea56
      ( net: fix packet socket delivery in rx irq handler )
      
      We lost rx timestamping of packets received on accelerated vlans.
      
      Effect is that tcpdump on real dev can show strange timings, since it gets rx timestamps
      too late (ie at skb dequeueing time, not at skb queueing time)
      
      14:47:26.986871 IP 192.168.20.110 > 192.168.20.141: icmp 64: echo request seq 1
      14:47:26.986786 IP 192.168.20.141 > 192.168.20.110: icmp 64: echo reply seq 1
      
      14:47:27.986888 IP 192.168.20.110 > 192.168.20.141: icmp 64: echo request seq 2
      14:47:27.986781 IP 192.168.20.141 > 192.168.20.110: icmp 64: echo reply seq 2
      
      14:47:28.986896 IP 192.168.20.110 > 192.168.20.141: icmp 64: echo request seq 3
      14:47:28.986780 IP 192.168.20.141 > 192.168.20.110: icmp 64: echo reply seq 3
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      81bbb3d4
    • E
      net: Fix sock_wfree() race · d99927f4
      Eric Dumazet 提交于
      Commit 2b85a34e
      (net: No more expensive sock_hold()/sock_put() on each tx)
      opens a window in sock_wfree() where another cpu
      might free the socket we are working on.
      
      A fix is to call sk->sk_write_space(sk) while still
      holding a reference on sk.
      Reported-by: NJike Song <albcamus@gmail.com>
      Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d99927f4
    • D
      net: Make setsockopt() optlen be unsigned. · b7058842
      David S. Miller 提交于
      This provides safety against negative optlen at the type
      level instead of depending upon (sometimes non-trivial)
      checks against this sprinkled all over the the place, in
      each and every implementation.
      
      Based upon work done by Arjan van de Ven and feedback
      from Linus Torvalds.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b7058842
  4. 29 9月, 2009 1 次提交
  5. 25 9月, 2009 2 次提交
  6. 22 9月, 2009 1 次提交
  7. 16 9月, 2009 1 次提交
  8. 15 9月, 2009 1 次提交
  9. 12 9月, 2009 1 次提交
  10. 06 9月, 2009 1 次提交
    • P
      net_sched: reintroduce dev->qdisc for use by sch_api · af356afa
      Patrick McHardy 提交于
      Currently the multiqueue integration with the qdisc API suffers from
      a few problems:
      
      - with multiple queues, all root qdiscs use the same handle. This means
        they can't be exposed to userspace in a backwards compatible fashion.
      
      - all API operations always refer to queue number 0. Newly created
        qdiscs are automatically shared between all queues, its not possible
        to address individual queues or restore multiqueue behaviour once a
        shared qdisc has been attached.
      
      - Dumps only contain the root qdisc of queue 0, in case of non-shared
        qdiscs this means the statistics are incomplete.
      
      This patch reintroduces dev->qdisc, which points to the (single) root qdisc
      from userspace's point of view. Currently it either points to the first
      (non-shared) default qdisc, or a qdisc shared between all queues. The
      following patches will introduce a classful dummy qdisc, which will be used
      as root qdisc and contain the per-queue qdiscs as children.
      Signed-off-by: NPatrick McHardy <kaber@trash.net>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      af356afa
  11. 03 9月, 2009 5 次提交
  12. 02 9月, 2009 2 次提交
  13. 01 9月, 2009 1 次提交
  14. 31 8月, 2009 1 次提交
  15. 29 8月, 2009 15 次提交
  16. 24 8月, 2009 1 次提交