]> git.baikalelectronics.ru Git - kernel.git/commit
macvlan: fix memory hole in macvlan_dev
authorGirish Moodalbail <girish.moodalbail@oracle.com>
Fri, 8 Dec 2017 14:03:26 +0000 (06:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Dec 2017 19:51:46 +0000 (14:51 -0500)
commitecae2c7849d0d51b11052e2311da1e9823ccf5eb
treed0f122849de3a35b48bad73ac59d2ff7aa96b6ad
parenta23c9e55cebf269d14a62072f9a679d0ad32aee8
macvlan: fix memory hole in macvlan_dev

Move 'macaddr_count' from after 'netpoll' to after 'nest_level' to pack
and reduce a memory hole.

Fixes: d0812432250084cb (macvlan: remove unused fields in struct macvlan_dev)
Signed-off-by: Girish Moodalbail <girish.moodalbail@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_macvlan.h