]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[NEIGH]: Make neigh_add_timer symmetrical to neigh_del_timer.
authorPavel Emelyanov <xemul@openvz.org>
Thu, 20 Dec 2007 23:49:05 +0000 (15:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:59:28 +0000 (14:59 -0800)
commita43d8994b959a6daeeadcd1be6d4a9045b7029ac
tree0262e3391f3b445e34e9ace4d48449d7d53d5aa5
parent7054fb9376e111d0edc06efcedbac6930a6caf76
[NEIGH]: Make neigh_add_timer symmetrical to neigh_del_timer.

The neigh_del_timer() looks sane - it removes the timer and
(conditionally) puts the neighbor. I expected, that the
neigh_add_timer() is symmetrical to the del one - i.e. it
holds the neighbor and arms the timer - but it turned out
that it was not so.

I think, that making them look symmetrical makes the code
more readable.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c