[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120611.165226.526660267410221047.davem@davemloft.net>
Date: Mon, 11 Jun 2012 16:52:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: danborkmann@...earbox.net
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] af_packet: use sizeof instead of constant in
spkt_device
From: Daniel Borkmann <danborkmann@...earbox.net>
Date: Sun, 10 Jun 2012 20:59:28 +0200
> This small patch removes access to the last element of the spkt_device
> array through a constant. Instead, it is accessed by sizeof() to respect
> possible changes in if_packet.h.
>
> Signed-off-by: Daniel Borkmann <daniel.borkmann@....ee.ethz.ch>
Applied, 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