aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorJon Maloy <jon.maloy@ericsson.com>2019-07-17 23:43:44 +0200
committerDavid S. Miller <davem@davemloft.net>2019-07-17 15:24:38 -0700
commit866e5fd8a7123444d865340ff21c1673f74cdecd (patch)
tree3fa4dbba90b1a0a2eea6f9fa63b3e722cd7adcbb /net/ipv6/route.c
parentMerge branch 'ipv4-relax-source-validation-check-for-loopback-packets' (diff)
downloadlinux-dev-866e5fd8a7123444d865340ff21c1673f74cdecd.tar.xz
linux-dev-866e5fd8a7123444d865340ff21c1673f74cdecd.zip
tipc: initialize 'validated' field of received packets
The tipc_msg_validate() function leaves a boolean flag 'validated' in the validated buffer's control block, to avoid performing this action more than once. However, at reception of new packets, the position of this field may already have been set by lower layer protocols, so that the packet is erroneously perceived as already validated by TIPC. We fix this by initializing the said field to 'false' before performing the initial validation. Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/route.c')
0 files changed, 0 insertions, 0 deletions