diff options
Diffstat (limited to 'drivers/net/pppoe.c')
-rw-r--r-- | drivers/net/pppoe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c index 5666ed998142..0adee733b761 100644 --- a/drivers/net/pppoe.c +++ b/drivers/net/pppoe.c | |||
@@ -600,6 +600,7 @@ static int pppoe_connect(struct socket *sock, struct sockaddr *uservaddr, | |||
600 | po->chan.hdrlen = (sizeof(struct pppoe_hdr) + | 600 | po->chan.hdrlen = (sizeof(struct pppoe_hdr) + |
601 | dev->hard_header_len); | 601 | dev->hard_header_len); |
602 | 602 | ||
603 | po->chan.mtu = dev->mtu - sizeof(struct pppoe_hdr); | ||
603 | po->chan.private = sk; | 604 | po->chan.private = sk; |
604 | po->chan.ops = &pppoe_chan_ops; | 605 | po->chan.ops = &pppoe_chan_ops; |
605 | 606 | ||