platform: don't assume that netlink message is as big as at compile time
authorLubomir Rintel <lkundrak@v3.sk>
Wed, 30 Mar 2016 10:46:04 +0000 (12:46 +0200)
committerLubomir Rintel <lkundrak@v3.sk>
Wed, 30 Mar 2016 11:25:49 +0000 (13:25 +0200)
commit05e454a98d02e69afd28fe371be48b40c4069a76
treeac0f5c214fbc73daa3198359384eb55b8cc5a0a3
parent9e9ec1a3da47c07bb0bb0b42014292a8df1c1e0b
platform: don't assume that netlink message is as big as at compile time

The link_stats structure grew between 4.5 and 4.6 and this would cause
the messages to me ignored when compiling with 4.6 headers and running
on 4.5.

https://bugzilla.gnome.org/show_bug.cgi?id=764332
src/platform/nm-linux-platform.c