diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2015-07-04 11:22:30 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-07-08 23:09:03 +0200 |
commit | aa43c5ff737dac5dcfccd12d23abeefbdf0579c7 (patch) | |
tree | 4f63491329e28d2a0444ebe2ee9a370c75d07f0d /drivers/net/hamradio/bpqether.c | |
parent | net_sched: gen_estimator: extend pps limit (diff) | |
download | linux-aa43c5ff737dac5dcfccd12d23abeefbdf0579c7.tar.xz linux-aa43c5ff737dac5dcfccd12d23abeefbdf0579c7.zip |
NET: hamradio: Fix IP over bpq encapsulation.
Since 1d5da757da860a6916adbf68b09e868062b4b3b8 (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: Ralf Baechle <ralf@linux-mips.org>
Cc: <stable@vger.kernel.org> # 4.1
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hamradio/bpqether.c')
-rw-r--r-- | drivers/net/hamradio/bpqether.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/hamradio/bpqether.c b/drivers/net/hamradio/bpqether.c index 7856b6ccf5c5..d95a50ae996d 100644 --- a/drivers/net/hamradio/bpqether.c +++ b/drivers/net/hamradio/bpqether.c @@ -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; |