diff options
author | Vadim Fedorenko <vfedorenko@yandex-team.ru> | 2017-11-02 15:49:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-04 22:33:06 +0900 |
commit | 9d917c207d6b212eb5fb4d8ca31826e5b75b4d28 (patch) | |
tree | b87648881864fac1f099712b10b8a32f2b19d2fd /init | |
parent | 1ec6e53029e7fddd73bb92500a2dca05fc393e8d (diff) |
add support of IFF_XMIT_DST_RELEASE bit in vlan
Some time ago Eric Dumazet suggested a "hack the IFF_XMIT_DST_RELEASE
flag on the vlan netdev". But the last comment was "does not support
properly bonding/team.(If the real_dev->privflags IFF_XMIT_DST_RELEASE
bit changes, we want to update all the vlans at the same time )"
I've extended that patch to support changes of IFF_XMIT_DST_RELEASE in
bonding/team.
Both bonding and team call netdev_change_features() after recalculation
of features including priv_flags IFF_XMIT_DST_RELEASE bit. So the only
thing needed to support is to recheck this bit in
vlan_transfer_features().
Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Vadim Fedorenko <vfedorenko@yandex-team.ru>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions