net/tap: fix potential IPC buffer overrun
authorHerakliusz Lipiec <herakliusz.lipiec@intel.com>
Mon, 29 Apr 2019 17:31:21 +0000 (18:31 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 3 May 2019 16:45:23 +0000 (18:45 +0200)
commit9ad43ad8fbeeec1a485233227da21fd71e175984
treeb643f64ee3a935ce5c4d5f8464c7056441e0a963
parentd1e64fbf6345cc74cd016f8fe152393ed72c39e2
net/tap: fix potential IPC buffer overrun

When secondary to primary process synchronization occurs
there is no check for number of fds which could cause buffer overrun.

Bugzilla ID: 252
Fixes: c9aa56edec8e ("net/tap: access primary process queues from secondary")
Cc: stable@dpdk.org
Signed-off-by: Herakliusz Lipiec <herakliusz.lipiec@intel.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
drivers/net/tap/rte_eth_tap.c