[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090930.164007.256559861.davem@davemloft.net>
Date: Wed, 30 Sep 2009 16:40:07 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: contact@...chahlusiak.de
Cc: netdev@...r.kernel.org, fred.l.templin@...ing.com
Subject: Re: [PATCH] sit: fix off-by-one in ipip6_tunnel_get_prl
From: Sascha Hlusiak <contact@...chahlusiak.de>
Date: Tue, 29 Sep 2009 23:27:05 +0200
> When requesting all prl entries (kprl.addr == INADDR_ANY) and there are
> more prl entries than there is space passed from userspace, the existing
> code would always copy cmax+1 entries, which is more than can be handled.
>
> This patch makes the kernel copy only exactly cmax entries.
>
> Signed-off-by: Sascha Hlusiak <contact@...chahlusiak.de>
> Acked-By: Fred L. Templin <Fred.L.Templin@...ing.com>
Applied and queued up for -stable, thanks.
--
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