mirror of
https://github.com/fpganinja/taxi.git
synced 2026-01-18 01:30:36 -08:00
cndm_proto: Remove padding bug workaround
Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
@@ -111,10 +111,6 @@ int cndm_proto_start_xmit(struct sk_buff *skb, struct net_device *ndev)
|
|||||||
|
|
||||||
netdev_dbg(ndev, "Got packet for TX");
|
netdev_dbg(ndev, "Got packet for TX");
|
||||||
|
|
||||||
// TODO workaround for MAC padding bug
|
|
||||||
if (skb_put_padto(skb, 60))
|
|
||||||
goto tx_drop;
|
|
||||||
|
|
||||||
if (skb->len < ETH_HLEN) {
|
if (skb->len < ETH_HLEN) {
|
||||||
netdev_warn(ndev, "Dropping short frame");
|
netdev_warn(ndev, "Dropping short frame");
|
||||||
goto tx_drop;
|
goto tx_drop;
|
||||||
|
|||||||
Reference in New Issue
Block a user