cvs commit: src/sys/netinet ip_input.c src/sys/sys mbuf.h src/sys/dev/netif/em if_em.c src/sys/dev/netif/gx if_gx.c src/sys/dev/netif/lge if_lge.c src/sys/dev/netif/ndis if_ndis.c src/sys/dev/netif/nfe if_nfe.c src/sys/dev/netif/nge if_nge.c ...
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Tue Aug 14 06:30:59 PDT 2007
sephe 2007/08/14 06:30:35 PDT
DragonFly src repository
Modified files:
sys/netinet ip_input.c
sys/sys mbuf.h
sys/dev/netif/em if_em.c
sys/dev/netif/gx if_gx.c
sys/dev/netif/lge if_lge.c
sys/dev/netif/ndis if_ndis.c
sys/dev/netif/nfe if_nfe.c
sys/dev/netif/nge if_nge.c
sys/dev/netif/re if_re.c
sys/dev/netif/stge if_stge.c
sys/dev/netif/txp if_txp.c
sys/dev/netif/vge if_vge.c
sys/dev/netif/xl if_xl.c
Log:
Add a new csum flag to tell IP defragmenter that csum_data does _not_
contain a valid IP fragment payload checksum. This flag is only intented
to be used by IP defragmenter.
Currently only bce(4), bge(4) and ti(4) provide valid IP fragment payload
checksum. Turn on the new csum flag for the rest of the drivers, which
support hardware TCP/UDP checksum offload but hard-wire csum_data to 0xffff,
to avoid bypassing verification of defragmented payload's checksum.
Discussed-with: dillon@, hsu@
Approved-by: dillon@
Revision Changes Path
1.70 +10 -0 src/sys/netinet/ip_input.c
1.40 +4 -0 src/sys/sys/mbuf.h
1.60 +2 -1 src/sys/dev/netif/em/if_em.c
1.28 +2 -1 src/sys/dev/netif/gx/if_gx.c
1.39 +2 -1 src/sys/dev/netif/lge/if_lge.c
1.21 +2 -1 src/sys/dev/netif/ndis/if_ndis.c
1.16 +2 -1 src/sys/dev/netif/nfe/if_nfe.c
1.43 +2 -1 src/sys/dev/netif/nge/if_nge.c
1.36 +2 -1 src/sys/dev/netif/re/if_re.c
1.2 +3 -1 src/sys/dev/netif/stge/if_stge.c
1.43 +2 -1 src/sys/dev/netif/txp/if_txp.c
1.5 +2 -1 src/sys/dev/netif/vge/if_vge.c
1.49 +2 -1 src/sys/dev/netif/xl/if_xl.c
http://www.dragonflybsd.org/cvsweb/src/sys/netinet/ip_input.c.diff?r1=1.69&r2=1.70&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/mbuf.h.diff?r1=1.39&r2=1.40&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/em/if_em.c.diff?r1=1.59&r2=1.60&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/gx/if_gx.c.diff?r1=1.27&r2=1.28&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/lge/if_lge.c.diff?r1=1.38&r2=1.39&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/ndis/if_ndis.c.diff?r1=1.20&r2=1.21&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/nfe/if_nfe.c.diff?r1=1.15&r2=1.16&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/nge/if_nge.c.diff?r1=1.42&r2=1.43&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/re/if_re.c.diff?r1=1.35&r2=1.36&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/stge/if_stge.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/txp/if_txp.c.diff?r1=1.42&r2=1.43&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/vge/if_vge.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/xl/if_xl.c.diff?r1=1.48&r2=1.49&f=u
More information about the Commits
mailing list