diff options
author | Tom Hirst <tom.hirst@ipe-systems.co.uk> | 2014-10-10 17:02:17 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2014-10-12 10:45:50 +0200 |
commit | 1910454fe00cce8b815b1abc0a18a04d3d387ccf (patch) | |
tree | 823ae9cd861dafbb65437de6144ee66e3957cb5a /LICENSE.FDL | |
parent | 955c9562bdb07927069f281a8635ce20405051c3 (diff) |
prevent if_nametoindex being called with empty string
Calling if_nametoindex with an empty string will always return 0, but
on ARM linux platforms this call seems to be very expensive (~30ms),
adding a large overhead to calls such as QUdpSocket::writeDatagram()
Task-number: QTBUG-37092
Change-Id: Iad00867585d9534af1ddaee936dd4e4dc5e03611
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'LICENSE.FDL')
0 files changed, 0 insertions, 0 deletions