LINUX.ORG.RU

История изменений

Исправление vvviperrr, (текущая версия) :

IFF_ATTACH_QUEUE

https://www.kernel.org/doc/Documentation/networking/tuntap.txt

  A new ioctl(TUNSETQUEUE) were introduced to enable or disable a queue. When
  calling it with IFF_DETACH_QUEUE flag, the queue were disabled. And when
  calling it with IFF_ATTACH_QUEUE flag, the queue were enabled. The queue were
  enabled by default after it was created through TUNSETIFF.

The queue were enabled by default after it was created through TUNSETIFF

если бы они все были бы disabled, то я вообще ни откуда данные б не прочитал

Исправление vvviperrr, :

IFF_ATTACH_QUEUE

https://www.kernel.org/doc/Documentation/networking/tuntap.txt

  A new ioctl(TUNSETQUEUE) were introduced to enable or disable a queue. When
  calling it with IFF_DETACH_QUEUE flag, the queue were disabled. And when
  calling it with IFF_ATTACH_QUEUE flag, the queue were enabled. The queue were
  enabled by default after it was created through TUNSETIFF.

The queue were

enabled by default after it was created through TUNSETIFF

если бы они все были бы disabled, то я вообще ни откуда данные б не прочитал

Исходная версия vvviperrr, :

IFF_ATTACH_QUEUE

https://www.kernel.org/doc/Documentation/networking/tuntap.txt

  A new ioctl(TUNSETQUEUE) were introduced to enable or disable a queue. When
  calling it with IFF_DETACH_QUEUE flag, the queue were disabled. And when
  calling it with IFF_ATTACH_QUEUE flag, the queue were enabled. The queue were
  enabled by default after it was created through TUNSETIFF.