• Eilon Greenstein's avatar
    bnx2x: Accessing un-mapped page · 437cf2f1
    Eilon Greenstein authored
    The allocated RX buffer size was 64 bytes bigger than the PCI mapped
    size with no good reason. If the packet was actually using the buffer up
    to its limit and if the last 64 bytes of the buffer crossed 4KB boundary
    then an unmapped PCI page was accessed. The fix is to use only one
    parameter for the buffer size - there is no need to differentiate
    between the buffer size and the PCI mapping size since the extra 64
    bytes can actually be used by the FW to align the Ethernet payload to
    64 bytes.
    
    Also updating the driver version and date
    Signed-off-by: default avatarEilon Greenstein <eilong@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    437cf2f1
bnx2x.h 33 KB