net/tap: avoid using SIGIO
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 14 Jul 2020 23:58:10 +0000 (16:58 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:06 +0000 (18:55 +0200)
commit2cecd7f9747523ff415b0ed66fe6c4ff0b107a1f
tree8e9d25b7df09389f2832ad39cc3890a5f8713839
parenta6f67a3b64f558b4a376e683ad9d8d7e7e7bbbf9
net/tap: avoid using SIGIO

SIGIO maybe used by application, instead choose another rt-signal.
Linux allows any signal to be used for signal based IO.
Search for an unused signal in the available rt-signal range.

Add more error checking for fcntl and signal handling.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Morten Brørup <mb@smartsharesystems.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/tap/rte_eth_tap.c