1. 18 May, 2009 7 commits
  2. 17 May, 2009 16 commits
  3. 10 May, 2009 1 commit
    • David Woodhouse's avatar
      tun: add tun_flags, owner, group attributes in sysfs · 980c9e8c
      David Woodhouse authored
      This patch adds three attribute files in /sys/class/net/$dev/ for tun
      devices; allowing userspace to obtain the information which TUNGETIFF
      offers, and more, but without having to attach to the device in question
      (which may not be possible if it's in use).
      
      It also fixes a bug which has been present in the TUNGETIFF ioctl since
      its inception, where it would never set IFF_TUN or IFF_TAP according to
      the device type. (Look carefully at the code which I remove from
      tun_get_iff() and how the new tun_flags() helper is subtly different).
      Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      980c9e8c
  4. 09 May, 2009 7 commits
  5. 08 May, 2009 5 commits
  6. 07 May, 2009 4 commits