[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20120628.180043.1526226627406865120.davem@davemloft.net>
Date: Thu, 28 Jun 2012 18:00:43 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: saurabh.mohan@...tta.com
Cc: netdev@...r.kernel.org
Subject: Re: [net-next PATCH 01/02] net/ipv4: VTI support rx-path hook in
xfrm4_mode_tunnel.
From: Saurabh <saurabh.mohan@...tta.com>
Date: Thu, 28 Jun 2012 17:52:25 -0700
> + for (pprev = &rcv_notify_handlers;
> + (t = rcu_dereference_protected(*pprev,
> + lockdep_is_held(&xfrm4_mode_tunnel_input_mutex))) != NULL;
> + pprev = &t->next) {
Please indent this properly:
for (x;
y;
z) {
x, y, and z must all line up to the same column.
> + for (pprev = &rcv_notify_handlers;
> + (t = rcu_dereference_protected(*pprev,
> + lockdep_is_held(&xfrm4_mode_tunnel_input_mutex))) != NULL;
> + pprev = &t->next) {
Likewise.
> +#define for_each_input_rcu(head, handler) \
> + for (handler = rcu_dereference(head); \
> + handler != NULL; \
> + handler = rcu_dereference(handler->next)) \
Likewise.
--
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