aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/pgtable.h
diff options
context:
space:
mode:
authorVladimir Oltean <olteanv@gmail.com>2019-08-05 01:38:48 +0300
committerDavid S. Miller <davem@davemloft.net>2019-08-06 14:37:02 -0700
commit93fa8587b25356382a39f1ca3a81d6c1b42ac731 (patch)
tree69c0a85f3fd18fec875563b529f9db0bcc4b99d3 /arch/arm64/include/asm/pgtable.h
parentnet: dsa: sja1105: Fix memory leak on meta state machine normal path (diff)
downloadlinux-dev-93fa8587b25356382a39f1ca3a81d6c1b42ac731.tar.xz
linux-dev-93fa8587b25356382a39f1ca3a81d6c1b42ac731.zip
net: dsa: sja1105: Fix memory leak on meta state machine error path
When RX timestamping is enabled and two link-local (non-meta) frames are received in a row, this constitutes an error. The tagger is always caching the last link-local frame, in an attempt to merge it with the meta follow-up frame when that arrives. To recover from the above error condition, the initial cached link-local frame is dropped and the second frame in a row is cached (in expectance of the second meta frame). However, when dropping the initial link-local frame, its backing memory was being leaked. Fixes: f3097be21bf1 ("net: dsa: sja1105: Add a state machine for RX timestamping") Signed-off-by: Vladimir Oltean <olteanv@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm64/include/asm/pgtable.h')
0 files changed, 0 insertions, 0 deletions