net: ppp: replace PPP_MTU with PPP_MRU
Varun Wadekar [Mon, 16 Apr 2012 10:09:30 +0000 (15:09 +0530)]
Change-Id: I0372a53147181a165560589f6214b715b8fb4e7b
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>

drivers/net/ppp/pppolac.c
drivers/net/ppp/pppopns.c

index c94b850..a5d3d63 100644 (file)
@@ -310,7 +310,7 @@ static int pppolac_connect(struct socket *sock, struct sockaddr *useraddr,
        po->chan.hdrlen = 12;
        po->chan.private = sk_udp;
        po->chan.ops = &pppolac_channel_ops;
-       po->chan.mtu = PPP_MTU - 80;
+       po->chan.mtu = PPP_MRU - 80;
        po->proto.lac.local = unaligned(&addr->local)->u32;
        po->proto.lac.remote = unaligned(&addr->remote)->u32;
        atomic_set(&po->proto.lac.sequencing, 1);
index fb81984..6016d29 100644 (file)
@@ -290,7 +290,7 @@ static int pppopns_connect(struct socket *sock, struct sockaddr *useraddr,
        po->chan.hdrlen = 14;
        po->chan.private = sk_raw;
        po->chan.ops = &pppopns_channel_ops;
-       po->chan.mtu = PPP_MTU - 80;
+       po->chan.mtu = PPP_MRU - 80;
        po->proto.pns.local = addr->local;
        po->proto.pns.remote = addr->remote;
        po->proto.pns.data_ready = sk_raw->sk_data_ready;