diff options
author | Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com> | 2019-09-25 17:47:11 +0300 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2019-10-12 23:51:29 +0200 |
commit | 77cfc0739d30c1282f7de24d2ec086d244e34bb7 (patch) | |
tree | e96bc6e5d26f8a9a5a70f2891453175d1a98f8f6 /scripts/gen_image_generic.sh | |
parent | b30e481b6cf09a77f50bb7f07dbe73f58699262d (diff) | |
download | upstream-77cfc0739d30c1282f7de24d2ec086d244e34bb7.tar.gz upstream-77cfc0739d30c1282f7de24d2ec086d244e34bb7.tar.bz2 upstream-77cfc0739d30c1282f7de24d2ec086d244e34bb7.zip |
trelay: handle netdevice events correctly
Since v3.11, netdevice notification data are of type
"struct netdev_notifier_info". Handle it as such!
This should fix a critical bug in which devices are unable get released
because trelay does not release resources in response to UNREGISTER
event spamming the log with something like:
unregister_netdevice: waiting for eth0.1 to become free. Usage count = 1
Signed-off-by: Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>
Diffstat (limited to 'scripts/gen_image_generic.sh')
0 files changed, 0 insertions, 0 deletions