projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f675b
)
NET: hamradio: Fix IP over bpq encapsulation.
author
Ralf Baechle
<
[email protected]
>
Sat, 4 Jul 2015 09:22:30 +0000
(11:22 +0200)
committer
David S. Miller
<
[email protected]
>
Wed, 8 Jul 2015 21:09:03 +0000
(14:09 -0700)
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 <
[email protected]
>.
Signed-off-by: Ralf Baechle <
[email protected]
>
Cc: <
[email protected]
> # 4.1
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/hamradio/bpqether.c
patch
|
blob
|
history
diff --git
a/drivers/net/hamradio/bpqether.c
b/drivers/net/hamradio/bpqether.c
index 7856b6ccf5c547e5c4eaf790d111f40527c375fa..d95a50ae996dd4d57f78e67b51a7a3e79f8caaf3 100644
(file)
--- 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;