Gleb Smirnoff wrote:
glebius 2006-01-13 11:51:11 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/dev/bge if_bge.c
sys/dev/em if_em.c
sys/dev/ixgb if_ixgb.c
sys/dev/nge if_nge.c
sys/dev/re if_re.c
sys/dev/txp if_txp.c
sys/dev/vge if_vge.c
sys/net if_vlan.c if_vlan_var.h
sys/net80211 ieee80211_input.c
sys/pci if_ti.c
Log:
MFC:
- Use VLAN_TAG_VALUE() not only to read a dot1q tag
value from an m_tag, but also to set it. This reduces
complex code duplication and improves its readability.
- Fix VLAN_INPUT_TAG() macro, so that it doesn't touch mtag in
case if memory allocation failed.
- Remove fourth argument from VLAN_INPUT_TAG(), that was used
incorrectly in almost all drivers. Indicate failure with
mbuf value of NULL.
Revision Changes Path
1.91.2.7 +5 -2 src/sys/dev/bge/if_bge.c
1.65.2.11 +1 -3 src/sys/dev/em/if_em.c
1.10.2.5 +1 -2 src/sys/dev/ixgb/if_ixgb.c
1.75.2.5 +3 -1 src/sys/dev/nge/if_nge.c
1.46.2.11 +5 -2 src/sys/dev/re/if_re.c
1.31.2.4 +3 -2 src/sys/dev/txp/if_txp.c
1.14.2.5 +5 -2 src/sys/dev/vge/if_vge.c
1.79.2.7 +1 -1 src/sys/net/if_vlan.c
1.21.2.1 +13 -7 src/sys/net/if_vlan_var.h
1.62.2.6 +3 -2 src/sys/net80211/ieee80211_input.c
1.107.2.4 +5 -2 src/sys/pci/if_ti.c
http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/dev/bge/if_bge.c.diff?&r1=1.91.2.6&r2=1.91.2.7&f=h
http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/dev/em/if_em.c.diff?&r1=1.65.2.10&r2=1.65.2.11&f=h
http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/dev/ixgb/if_ixgb.c.diff?&r1=1.10.2.4&r2=1.10.2.5&f=h
http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/dev/nge/if_nge.c.diff?&r1=1.75.2.4&r2=1.75.2.5&f=h
http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/dev/re/if_re.c.diff?&r1=1.46.2.10&r2=1.46.2.11&f=h
http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/dev/txp/if_txp.c.diff?&r1=1.31.2.3&r2=1.31.2.4&f=h
http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/dev/vge/if_vge.c.diff?&r1=1.14.2.4&r2=1.14.2.5&f=h
http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/net/if_vlan.c.diff?&r1=1.79.2.6&r2=1.79.2.7&f=h
http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/net/if_vlan_var.h.diff?&r1=1.21.2.0&r2=1.21.2.1&f=h
http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/net80211/ieee80211_input.c.diff?&r1=1.62.2.5&r2=1.62.2.6&f=h
http://www.FreeBSD.org/cgi/cvsweb.cgi/src/sys/pci/if_ti.c.diff?&r1=1.107.2.3&r2=1.107.2.4&f=h
According to the tinderboxes, this breaks the build on RELENG_6. Did you
test this?
Doug
--
This .signature sanitized for your protection
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"