1. 16 1月, 2013 14 次提交
  2. 15 1月, 2013 8 次提交
  3. 14 1月, 2013 5 次提交
  4. 13 1月, 2013 12 次提交
  5. 12 1月, 2013 1 次提交
    • J
      tuntap: fix leaking reference count · dd38bd85
      Jason Wang 提交于
      Reference count leaking of both module and sock were found:
      
      - When a detached file were closed, its sock refcnt from device were not
        released, solving this by add the sock_put().
      - The module were hold or drop unconditionally in TUNSETPERSIST, which means we
        if we set the persist flag for N times, we need unset it for another N
        times. Solving this by only hold or drop an reference when there's a flag
        change and also drop the reference count when the persist device is deleted.
      Signed-off-by: NJason Wang <jasowang@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      dd38bd85