netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Fan Du <fan.du@windriver.com>
To: Steffen Klassert <steffen.klassert@secunet.com>
Cc: <netdev@vger.kernel.org>
Subject: Re: [PATCH RFC 2/2] ipv6: Add support for IPsec virtual tunnel interfaces
Date: Fri, 23 Aug 2013 14:17:14 +0800	[thread overview]
Message-ID: <5216FE6A.3000009@windriver.com> (raw)
In-Reply-To: <20130823061214.GG26773@secunet.com>



On 2013年08月23日 14:12, Steffen Klassert wrote:
> On Thu, Aug 22, 2013 at 03:47:00PM +0800, Fan Du wrote:
>> >
>> >
>> >  On 2013年08月19日 14:27, Steffen Klassert wrote:
>>> >  >+
>>> >  >+	skb_dst_drop(skb);
>>> >  >+	skb_dst_set_noref(skb, dst);
>>> >  >+
>>> >  >+	ip6tunnel_xmit(skb, dev);
>>> >  >+	if (ndst)
>>> >  >+		ip6_tnl_dst_store(t, ndst);
>>> >  >+	return 0;
>>> >  >+tx_err_link_failure:
>>> >  >+	stats->tx_carrier_errors++;
>>> >  >+	dst_link_failure(skb);
>>> >  >+tx_err_dst_release:
>> >
>> >  Maybe it's necessary to count stats->tx_errors as well.
> We count it directly after an error return of this function.
>
>

My bad, you are right ;)


-- 
浮沉随浪只记今朝笑

--fan

  reply	other threads:[~2013-08-23  6:16 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-19  6:26 [PATCH RFC 0/2] Add IPsec virtual tunnel interfaces to IPv6 Steffen Klassert
2013-08-19  6:26 ` [PATCH RFC 1/2] ipv6: Add a receive path hook for vti6 in xfrm6_mode_tunnel Steffen Klassert
2013-08-19  6:27 ` [PATCH RFC 2/2] ipv6: Add support for IPsec virtual tunnel interfaces Steffen Klassert
2013-08-22  7:47   ` Fan Du
2013-08-23  6:12     ` Steffen Klassert
2013-08-23  6:17       ` Fan Du [this message]
2013-08-26 16:37   ` Dan Williams
2013-08-26 16:51     ` Eric Dumazet
2013-08-27 11:08     ` Steffen Klassert
2013-08-21  0:28 ` [PATCH RFC 0/2] Add IPsec virtual tunnel interfaces to IPv6 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=5216FE6A.3000009@windriver.com \
    --to=fan.du@windriver.com \
    --cc=netdev@vger.kernel.org \
    --cc=steffen.klassert@secunet.com \
    /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).