Searched hist:a43d8994 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/net/core/ |
H A D | neighbour.c | a43d8994 Thu Dec 20 17:49:05 CST 2007 Pavel Emelyanov <xemul@openvz.org> [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> a43d8994 Thu Dec 20 17:49:05 CST 2007 Pavel Emelyanov <xemul@openvz.org> [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>
|