diff options
author | Alexander Chernavin <achernavin@netgate.com> | 2021-10-20 11:52:46 +0000 |
---|---|---|
committer | Matthew Smith <mgsmith@netgate.com> | 2022-03-03 14:26:48 +0000 |
commit | 87e92c6586747a790ae514effb79b86a3e53958e (patch) | |
tree | a779cccd2027c98b66351861d6a0cb18ef2b6ed6 /src/vnet/ip/protocols.def | |
parent | adac308aa8033de28ec9e627af2ed517f37aba6a (diff) |
linux-cp: make check of message ts null-tolerant
Type: improvement
For some message types, timestamps are checked on netlink message to
decide whether the message should be applied. For notification messages
timestamps are expected to be always available.
With this change, before accessing the timestamp, make sure the message
info object that carries it is not null. If it is null, pass the check.
This is to be ready to process dump replies that will not need the
timestamp check and will have the message info object set to null.
Signed-off-by: Alexander Chernavin <achernavin@netgate.com>
Change-Id: Ic7211c0d451d72f6a5248898b3a8f8e0bca8f7aa
Diffstat (limited to 'src/vnet/ip/protocols.def')
0 files changed, 0 insertions, 0 deletions