1. 13 5月, 2011 1 次提交
  2. 09 5月, 2011 2 次提交
    • D
      inet: Pass flowi to ->queue_xmit(). · d9d8da80
      David S. Miller 提交于
      This allows us to acquire the exact route keying information from the
      protocol, however that might be managed.
      
      It handles all of the possibilities, from the simplest case of storing
      the key in inet->cork.fl to the more complex setup SCTP has where
      individual transports determine the flow.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      d9d8da80
    • D
      l2tp: Fix locking in l2tp_core.c · 6af88da1
      David S. Miller 提交于
      l2tp_xmit_skb() must take the socket lock.  It makes use of ip_queue_xmit()
      which expects to execute in a socket atomic context.
      
      Since we execute this function in software interrupts, we cannot use the
      usual lock_sock()/release_sock() sequence, instead we have to use
      bh_lock_sock() and see if a user has the socket locked, and if so drop
      the packet.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6af88da1
  3. 25 10月, 2010 2 次提交
  4. 24 4月, 2010 1 次提交
  5. 16 4月, 2010 1 次提交
  6. 04 4月, 2010 7 次提交