linux/net/llc
Salvatore Mesoraca 678f4bda35 net: llc: drop VLA in llc_sap_mcast()
Avoid a VLA[1] by using a real constant expression instead of a variable.
The compiler should be able to optimize the original code and avoid using
an actual VLA. Anyway this change is useful because it will avoid a false
positive with -Wvla, it might also help the compiler generating better
code.

[1] https://lkml.org/lkml/2018/3/7/621

Signed-off-by: Salvatore Mesoraca <s.mesoraca16@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-03-12 11:14:06 -04:00
..
af_llc.c net: make getname() functions return length rather than use int* parameter 2018-02-12 14:15:04 -05:00
Kconfig
llc_c_ac.c net: LLC: Convert timers to use timer_setup() 2017-10-25 12:06:25 +09:00
llc_c_ev.c
llc_c_st.c
llc_conn.c net: LLC: Convert timers to use timer_setup() 2017-10-25 12:06:25 +09:00
llc_core.c net, llc: convert llc_sap.refcnt from atomic_t to refcount_t 2017-07-04 22:35:15 +01:00
llc_if.c
llc_input.c locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns to READ_ONCE()/WRITE_ONCE() 2017-10-25 11:01:08 +02:00
llc_output.c
llc_pdu.c
llc_proc.c net: delete /proc THIS_MODULE references 2018-01-16 15:01:33 -05:00
llc_s_ac.c
llc_s_ev.c
llc_s_st.c
llc_sap.c net: llc: drop VLA in llc_sap_mcast() 2018-03-12 11:14:06 -04:00
llc_station.c
Makefile
sysctl_net_llc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00