git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
460bf26
)
net/tap: do not set remote MAC if not necessary
author
Pascal Mazon
<pascal.mazon@6wind.com>
Fri, 12 May 2017 13:01:40 +0000
(15:01 +0200)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Mon, 12 Jun 2017 09:41:25 +0000
(10:41 +0100)
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:
2bc06869cd94
("net/tap: add remote netdevice traffic capture")
Signed-off-by: Pascal Mazon <pascal.mazon@6wind.com>
No differences found