summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJulia Lawall2009-07-11 12:03:55 +0200
committerDavid S. Miller2009-07-13 05:11:32 +0200
commit8e321c4f72e2fb580a091317ba0fb2941f637ce1 (patch)
tree4088f80a6ea48205a5d19251d5ee4c8aa29f3ac6 /net
parentdropmon: remove duplicated #include (diff)
downloadkernel-qcow2-linux-8e321c4f72e2fb580a091317ba0fb2941f637ce1.tar.gz
kernel-qcow2-linux-8e321c4f72e2fb580a091317ba0fb2941f637ce1.tar.xz
kernel-qcow2-linux-8e321c4f72e2fb580a091317ba0fb2941f637ce1.zip
drivers/net/bonding: Adjust constant name
AD_SHORT_TIMEOUT and AD_STATE_LACP_ACTIVITY have the same value, but AD_STATE_LACP_ACTIVITY better reflects the intended semantics. [ J adds: AD_STATE_LACP_ACTIVITY is a value defined by the standard, and should be set here in accordance with 802.3ad 43.4.12; AD_SHORT_TIMEOUT is a constant specific to the Linux 802.3ad implementation that happens to have the same value ] The semantic match that finds this problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @@ struct port_params p; @@ * p.port_state |= AD_SHORT_TIMEOUT // </smpl> Signed-off-by: Julia Lawall <julia@diku.dk> Signed-off-by: Jay Vosburgh <fubar@us.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions