From: Thomas Falcon <tlfal...@linux.vnet.ibm.com> Date: Fri, 9 Mar 2018 13:23:56 -0600
> + /* For some backing devices, mishandling of small packets > + * can result in a loss of connection or TX stall. Device > + * architects recommend that no packet should be smaller > + * than the minimum MTU value provided to the driver, so > + * pad any packets to that length > + */ > + if (skb->len < netdev->min_mtu) { > + return skb_put_padto(skb, netdev->min_mtu); > + } Please do not use curly braces for a single statement basic block. Thank you.