ipv4: Fix inetpeer expire time information
authorSteffen Klassert <steffen.klassert@secunet.com>
Tue, 11 Oct 2011 01:12:02 +0000 (01:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Nov 2011 19:40:40 +0000 (14:40 -0500)
commit2bc8ca40f951163b3bb75949479e2755c12c1b96
tree1ca54c227a481d4cab0ca60a0f0533d5ae47042a
parent20db93c34095553a01a9c31136658917bf1fa5d5
ipv4: Fix inetpeer expire time information

As we update the learned pmtu informations on demand, we might
report a nagative expiration time value to userspace if the
pmtu informations are already expired and we have not send a
packet to that inetpeer after expiration. With this patch we
send a expire time of null to userspace after expiration
until the next packet is send to that inetpeer.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c