summaryrefslogtreecommitdiff
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorJamal Hadi Salim <jhs@mojatatu.com>2016-08-22 07:10:20 -0400
committerDavid S. Miller <davem@davemloft.net>2016-08-22 21:01:57 -0700
commit28a10c426e81afc88514bca8e73affccf850fdf6 (patch)
tree09be4d52e49ba2ce076fa45ef59b75d19b302390 /mm/vmscan.c
parent4870e704d901602e4ae5de462c4e65732cf2ed6c (diff)
net sched: fix encoding to use real length
Encoding of the metadata was using the padded length as opposed to the real length of the data which is a bug per specification. This has not been an issue todate because all metadatum specified so far has been 32 bit where aligned and data length are the same width. This also includes a bug fix for validating the length of a u16 field. But since there is no metadata of size u16 yes we are fine to include it here. While at it get rid of magic numbers. Fixes: ef6980b6becb ("net sched: introduce IFE action") Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions