[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACna6rzL_7Kmkrh0y1R7TPWqEAZ+ANa7cSnUumF9bDmWUs-6rA@mail.gmail.com>
Date: Thu, 28 Feb 2013 20:25:00 +0100
From: Rafał Miłecki <zajec5@...il.com>
To: David Miller <davem@...emloft.net>
Cc: hauke@...ke-m.de, netdev@...r.kernel.org
Subject: Re: [PATCH] bgmac: omit the fcs
2013/2/28 David Miller <davem@...emloft.net>:
> From: Rafał Miłecki <zajec5@...il.com>
> Date: Thu, 28 Feb 2013 18:57:03 +0100
>
>> 2013/2/28 Hauke Mehrtens <hauke@...ke-m.de>:
>>> Do not include the frame check sequence when adding the skb to
>>> netif_receive_skb(). This causes problems when this interface was
>>> bridged to a wifi ap and a big package should be forwarded from this
>>> Ethernet driver through a bride to the wifi client.
>>
>> Is this a real fix?
>>
>> Don't get me wrong, but it sounds a little like a workaround for some
>> issue in another network layer ;)
>
> FCS should never be included in the SKB unless a specific debugging
> configuration knob has enabled it.
>
> Having the FCS there will screw up things like device provided partial
> checksums (CHECKSUM_PARTIAL), which operate over the entire contents
> of the packet starting at a particular offset, so if the FCS is there
> we'll include it.
>
> This change is therefore about as correct as can possibly be.
OK, thanks! :)
--
Rafał
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists