Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa43c5ff authored by Ralf Baechle's avatar Ralf Baechle Committed by David S. Miller
Browse files

NET: hamradio: Fix IP over bpq encapsulation.



Since 1d5da757 (ax25: Stop using magic
neighbour cache operations.) any attempt to transmit IP packets over
a bpqether device will result in a message like "Dead loop on virtual
device bpq0, fix it urgently!"

Fix suggested by Eric W. Biederman <ebiederm@xmission.com>.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
Cc: <stable@vger.kernel.org> # 4.1
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 32f675bb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -482,6 +482,7 @@ static void bpq_setup(struct net_device *dev)
	memcpy(dev->dev_addr,  &ax25_defaddr, AX25_ADDR_LEN);

	dev->flags      = 0;
	dev->features	= NETIF_F_LLTX;	/* Allow recursion */

#if defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE)
	dev->header_ops      = &ax25_header_ops;