[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <396556a20807011552p63d59fd9ja70bfe581798a164@mail.gmail.com>
Date: Tue, 1 Jul 2008 15:52:56 -0700
From: "Adam Langley" <agl@...erialviolet.org>
To: "Stephen Hemminger" <shemminger@...tta.com>
Cc: netdev@...r.kernel.org
Subject: Re: MD5 SG fix
On Tue, Jul 1, 2008 at 3:49 PM, Stephen Hemminger <shemminger@...tta.com> wrote:
> Just pass the skb in and not tcplen, frags, ...
> avoid all this nonsense. tcplen == skb->len, and you have the correct size info.
But there are places where that function is called that we don't have
an SKB to pass in (tcp_v6_send_reset and tcp_v6_send_ack, likewise in
v4). I could duplicate the whole function, once for SKBs and once for
those users, but that's a bunch of duplicated code. I'll defer to your
experience on what the kernel's preferred practice is here.
AGL
--
Adam Langley agl@...erialviolet.org http://www.imperialviolet.org
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists