numam-dpdk/drivers/net/tap
Pascal Mazon 460bf26fd8 net/tap: do not set remote MAC if not necessary
Check for the current MAC address on both the remote and the tap
netdevices before setting a new value.

While there, remove wrong empty lines and ensure tap_ioctl() return
value is negative, just like what is done throughout this code.

Fixes: 2bc06869cd ("net/tap: add remote netdevice traffic capture")

Signed-off-by: Pascal Mazon <pascal.mazon@6wind.com>
2017-06-12 10:41:25 +01:00
..
Makefile drivers/net: remove unused DEPDIRS from makefiles 2017-04-06 20:58:59 +02:00
rte_eth_tap.c net/tap: do not set remote MAC if not necessary 2017-06-12 10:41:25 +01:00
rte_eth_tap.h net/tap: fix max queues redefinition 2017-04-06 16:29:32 +02:00
rte_pmd_tap_version.map net/tap: add TUN/TAP device PMD 2017-01-17 19:40:50 +01:00
tap_flow.c net/tap: update netlink error code management 2017-04-04 19:03:03 +02:00
tap_flow.h net/tap: add remote netdevice traffic capture 2017-04-04 18:59:47 +02:00
tap_netlink.c net/tap: update netlink error code management 2017-04-04 19:03:03 +02:00
tap_netlink.h net/tap: add link status notification 2017-04-04 18:59:47 +02:00
tap_tcmsgs.c net/tap: update netlink error code management 2017-04-04 19:03:03 +02:00
tap_tcmsgs.h net/tap: update netlink error code management 2017-04-04 19:03:03 +02:00