diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-05-12 19:52:55 +0200 |
---|---|---|
committer | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2008-06-12 02:19:08 +0200 |
commit | 36e3deae8ba84865fd9eb3f2f21bbc00d49b7544 (patch) | |
tree | d78448c8c5b9570c2c1066e03a4dc31a73b2085b /lib/locking-selftest-spin.h | |
parent | ipv6 mcast: Check address family of gf_group in getsockopt(MS_FILTER). (diff) | |
download | linux-36e3deae8ba84865fd9eb3f2f21bbc00d49b7544.tar.xz linux-36e3deae8ba84865fd9eb3f2f21bbc00d49b7544.zip |
ipv6 route: Fix route lifetime in netlink message.
1) We may have route lifetime larger than INT_MAX.
In that case we had wired value in lifetime.
Use INT_MAX if lifetime does not fit in s32.
2) Lifetime is valid iif RTF_EXPIRES is set.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Diffstat (limited to 'lib/locking-selftest-spin.h')
0 files changed, 0 insertions, 0 deletions