Re: [PATCH net v2] ipmr, ip6mr: return lastuse relative to now

2016-09-20 Thread David Miller
From: Nikolay Aleksandrov Date: Tue, 20 Sep 2016 16:17:22 +0200 > When I introduced the lastuse member I made a subtle error because it was > returned as an absolute value but that is meaningless to user-space as it > doesn't allow to see how old exactly an entry is. Let's make it similar to > ho

[PATCH net v2] ipmr, ip6mr: return lastuse relative to now

2016-09-20 Thread Nikolay Aleksandrov
When I introduced the lastuse member I made a subtle error because it was returned as an absolute value but that is meaningless to user-space as it doesn't allow to see how old exactly an entry is. Let's make it similar to how the bridge returns such values and make it relative to "now" (jiffies).