summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/lp87565.c
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2019-01-16 16:53:52 +0100
committerDavid S. Miller <davem@davemloft.net>2019-01-17 23:40:59 +0100
commit2cddd20147826aef283115abb00012d4dafe3cdb (patch)
tree9dfc70e9a76e7ed7e0eeaccd67586087c3dc6e41 /drivers/mfd/lp87565.c
parentnet: dsa: realtek-smi: fix OF child-node lookup (diff)
downloadlinux-2cddd20147826aef283115abb00012d4dafe3cdb.tar.xz
linux-2cddd20147826aef283115abb00012d4dafe3cdb.zip
net/sched: cls_flower: allocate mask dynamically in fl_change()
Recent changes (especially 05cd271fd61a ("cls_flower: Support multiple masks per priority")) in the fl_flow_mask structure grow it and its current size e.g. on x86_64 with defconfig is 760 bytes and more than 1024 bytes with some debug options enabled. Prior the mentioned commit its size was 176 bytes (using defconfig on x86_64). With regard to this fact it's reasonable to allocate this structure dynamically in fl_change() to reduce its stack size. v2: - use kzalloc() instead of kcalloc() Fixes: 05cd271fd61a ("cls_flower: Support multiple masks per priority") Cc: Jiri Pirko <jiri@resnulli.us> Cc: Paul Blakey <paulb@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: Ivan Vecera <ivecera@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/mfd/lp87565.c')
0 files changed, 0 insertions, 0 deletions