cndm: Remove padding bug workaround

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2026-01-02 01:24:42 -08:00
parent 711b268cb7
commit 3c4aecc859

View File

@@ -111,10 +111,6 @@ int cndm_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;