]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: refine IFF_XMIT_DST_RELEASE capability
authorEric Dumazet <edumazet@google.com>
Tue, 17 Jul 2012 12:19:48 +0000 (12:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2012 16:31:25 +0000 (09:31 -0700)
commitb1d3022e409799abe24b7cbbd8cc0ca5e045855a
treeabdd0d6dc72d1c9a30108f8be1e8dc9dcb5d315e
parentb97a9026684e7db9e4939ff470f0f225d1a042e0
bonding: refine IFF_XMIT_DST_RELEASE capability

Some workloads greatly benefit of IFF_XMIT_DST_RELEASE capability
on output net device, avoiding dirtying dst refcount.

bonding currently disables IFF_XMIT_DST_RELEASE unconditionally.

If all slaves have the IFF_XMIT_DST_RELEASE bit set, then
bonding master can also have it in its priv_flags

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Jay Vosburgh <fubar@us.ibm.com>
Cc: Andy Gospodarek <andy@greyhouse.net>
Cc: Tom Herbert <therbert@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c