[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120316.230245.1004014834159539357.davem@davemloft.net>
Date: Fri, 16 Mar 2012 23:02:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: nick.jones@...work-box.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2] ipv6: Allocate unique metrics for icmp6
packets to prevent tainting dst metrics
From: Nick Jones <nick.jones@...work-box.com>
Date: Thu, 15 Mar 2012 23:41:57 +0800
> + u32 *metrics = kzalloc(sizeof(u32) * RTAX_MAX, GFP_ATOMIC);
Please do not declare local variables in the middle of a function's
statements. Put it at the top of the basic block where it belongs.
--
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