commit | a8c14745625c0862fd77b6307ea00c2f67c9e5e3 | [log] [tgz] |
---|---|---|
author | Petr Menšík <pemensik@redhat.com> | Tue Mar 02 21:38:02 2021 +0000 |
committer | Simon Kelley <simon@thekelleys.org.uk> | Tue Mar 02 21:38:02 2021 +0000 |
tree | 59cb048bd55bfbc85b469ebf4aeea02dcd16dde7 | |
parent | 8b8a4148ec14363d75ad76c1fb9542c85b66b8c5 [diff] |
Obtain MTU of interface only when it would be used MTU were obtained early during iface_allowed check. But often it returned from the function without ever using it. Because calls to kernel might be costy, move fetching it only when it would be assigned.