Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Mar 2010 13:34:18 GMT
From:      Rainer Bredehorn <Bredehorn@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/144492: The fxp driver does not handle Frame Check Sequence (CRC) errors correctly.
Message-ID:  <201003051334.o25DYIeA037236@www.freebsd.org>
Resent-Message-ID: <201003051340.o25De20S008536@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         144492
>Category:       i386
>Synopsis:       The fxp driver does not handle Frame Check Sequence (CRC) errors correctly.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 05 13:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Rainer Bredehorn
>Release:        FreeBSD 7.1
>Organization:
>Environment:
>Description:
If a Frame Check Sequence (FCS) of a packet is wrong you can see this packet with a packet sniffer (wireshark/tcpdump) via the BPF hook in the ether_input() function.
Other network driver discard the frame.

File: sys/dev/fxp/if_fxp.c
Function: fxp_intr_body

The error handling after checking the status flag FXP_RFA_STATUS_CRC seems to be wrong. 
>How-To-Repeat:
Connect the FreeBSD 7.1 machine to a ethernet hub. Generate traffic so that the hub shows collisions.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003051334.o25DYIeA037236>