netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: dmgenp@gmail.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net] l2tp: take PMTU from tunnel UDP socket
Date: Tue, 08 Apr 2014 13:09:11 -0400 (EDT)	[thread overview]
Message-ID: <20140408.130911.407626440185112494.davem@davemloft.net> (raw)
In-Reply-To: <CAP6LPsB4gAvJ9OaM-Jb5WuVSvnrD6ba2QaMtzEtjt2nUEPr-Cw@mail.gmail.com>

From: Dmitry Petukhov <dmgenp@gmail.com>
Date: Tue, 8 Apr 2014 21:15:50 +0600

> When l2tp driver tries to get PMTU for the tunnel destination, it uses
> the pointer to struct sock that represents PPPoX socket, while it
> should use the pointer that represents UDP socket of the tunnel.
> 
> Signed-off-by: Dmitry Petukhov <dmgenp@gmail.com>
> ---
>  net/l2tp/l2tp_ppp.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/net/l2tp/l2tp_ppp.c b/net/l2tp/l2tp_ppp.c
> index d276e2d..950909f 100644
> --- a/net/l2tp/l2tp_ppp.c
> +++ b/net/l2tp/l2tp_ppp.c
> @@ -753,9 +753,9 @@ static int pppol2tp_connect(struct socket *sock,
> struct sockaddr *uservaddr,

Your patch has been corrupted by your email client, please fix this up
and resubmit.

  reply	other threads:[~2014-04-08 17:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-08 15:15 [PATCH net] l2tp: take PMTU from tunnel UDP socket Dmitry Petukhov
2014-04-08 17:09 ` David Miller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-04-08 20:23 Dmitry Petukhov
2014-04-09 19:25 ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140408.130911.407626440185112494.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=dmgenp@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).