add binary images for au1000 (for use with mtd)
[openwrt.git] / target / linux / generic-2.6 / patches / 206-pppoe_mtu_fix.patch
1 --- linux-2.6.17/drivers/net/pppoe.c.old 2006-10-10 13:47:56.000000000 +0200
2 +++ linux-2.6.17/drivers/net/pppoe.c 2006-10-10 13:52:02.000000000 +0200
3 @@ -600,6 +600,9 @@
4 po->chan.hdrlen = (sizeof(struct pppoe_hdr) +
5 dev->hard_header_len);
6
7 + if (po->chan.mtu > dev->mtu - sizeof(struct pppoe_hdr))
8 + po->chan.mtu = dev->mtu - sizeof(struct pppoe_hdr);
9 +
10 po->chan.private = sk;
11 po->chan.ops = &pppoe_chan_ops;
12
This page took 0.041739 seconds and 5 git commands to generate.