summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/net/loopback.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/net/loopback.c')
-rw-r--r--kernel/drivers/net/loopback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/drivers/net/loopback.c b/kernel/drivers/net/loopback.c
index dc7d970bd..effcdbfb0 100644
--- a/kernel/drivers/net/loopback.c
+++ b/kernel/drivers/net/loopback.c
@@ -164,6 +164,7 @@ static void loopback_setup(struct net_device *dev)
{
dev->mtu = 64 * 1024;
dev->hard_header_len = ETH_HLEN; /* 14 */
+ dev->min_header_len = ETH_HLEN; /* 14 */
dev->addr_len = ETH_ALEN; /* 6 */
dev->type = ARPHRD_LOOPBACK; /* 0x0001*/
dev->flags = IFF_LOOPBACK;