English Language flag
// Log In
// CVSweb
Project: FreeWRT
// Summary // Activity // Search // Tracker // Lists // News // SCM // Wiki

SCM Repository

ViewVC logotype

Contents of /branches/freewrt_1_0/target/linux/generic-2.4/patches/114-pppoe-mtu.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 897 - (show annotations) (download)
Fri Oct 13 13:57:04 2006 UTC (7 years, 4 months ago) by dnehring
File size: 462 byte(s)
Advertise PPPoE MTU
1 diff -urN linux-2.4.34-pre3/drivers/net/pppoe.c linux-2.4.34-pre4/drivers/net/pppoe.c
2 --- linux-2.4.34-pre3/drivers/net/pppoe.c 2004-02-18 13:36:31.000000000 +0000
3 +++ linux-2.4.34-pre4/drivers/net/pppoe.c 2006-10-02 20:50:33.491255680 +0000
4 @@ -639,6 +639,7 @@
5 po->chan.hdrlen = (sizeof(struct pppoe_hdr) +
6 dev->hard_header_len);
7
8 + po->chan.mtu = dev->mtu - sizeof(struct pppoe_hdr);
9 po->chan.private = sk;
10 po->chan.ops = &pppoe_chan_ops;
11

root@freewrt.org:443
ViewVC Help
Powered by ViewVC 1.1.20