net: ipv4: reset check_lifetime_work after changing lifetime
authorJiri Pirko <jiri@resnulli.us>
Thu, 4 Apr 2013 23:39:38 +0000 (23:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2013 16:04:51 +0000 (12:04 -0400)
commit05a324b9c50c3edbe0ce48ee3e37b210859ef1ae
treeaaadda8e7a1ca69d919afe84b76de8108ff27790
parentcb28ea3b13b86fb23448525f34720e659bda7aa8
net: ipv4: reset check_lifetime_work after changing lifetime

This will result in calling check_lifetime in nearest opportunity and
that function will adjust next time to call check_lifetime correctly.
Without this, check_lifetime is called in time computed by previous run,
not affecting modified lifetime.

Introduced by: commit 5c766d642bcaf "ipv4: introduce address lifetime"

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/devinet.c