Message ID | 53BF8DC1.1040905@kristov.de |
---|---|
State | Changes Requested, archived |
Delegated to: | David Miller |
Headers | show |
Bug fixes like these should be targetted at 'net' not 'net-next'. Please fix your subjects, number your patches, provides a "[PATCH 0/N]" header posting explaining your changes at a high level, and resubmit everything. Thank you. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello! Am 11.07.2014 23:14, schrieb David Miller: > > Bug fixes like these should be targetted at 'net' not 'net-next'. > > Please fix your subjects, number your patches, provides a "[PATCH 0/N]" > header posting explaining your changes at a high level, and resubmit > everything. [x] Done. I hope that everything is correct now with this patch. (I will resubmit my other two patches soon.) Best regards, Christoph Schulz -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/ppp/pppoe.c b/drivers/net/ppp/pppoe.c index 2ea7efd..6c9c16d 100644 --- a/drivers/net/ppp/pppoe.c +++ b/drivers/net/ppp/pppoe.c @@ -675,7 +675,7 @@ static int pppoe_connect(struct socket *sock, struct sockaddr *uservaddr, po->chan.hdrlen = (sizeof(struct pppoe_hdr) + dev->hard_header_len); - po->chan.mtu = dev->mtu - sizeof(struct pppoe_hdr); + po->chan.mtu = dev->mtu - sizeof(struct pppoe_hdr) - 2; po->chan.private = sk; po->chan.ops = &pppoe_chan_ops;