summaryrefslogtreecommitdiff
path: root/include/linux/stackprotector.h
diff options
context:
space:
mode:
authorPetr Machata <petrm@nvidia.com>2024-12-05 18:40:53 +0300
committerJakub Kicinski <kuba@kernel.org>2024-12-10 01:47:03 +0300
commite713130dfb4d6b5a2cd42f33a94b6ac983d2989d (patch)
tree788920d9f3605b508cfd8ce220625399c7909f5b /include/linux/stackprotector.h
parentfe3dcbcfae522fae9c62954488398562ff6b5ece (diff)
downloadlinux-e713130dfb4d6b5a2cd42f33a94b6ac983d2989d.tar.xz
vxlan: vxlan_rcv(): Extract vxlan_hdr(skb) to a named variable
Having a named reference to the VXLAN header is more handy than having to conjure it anew through vxlan_hdr() on every use. Add a new variable and convert several open-coded sites. Additionally, convert one "unparsed" use to the new variable as well. Thus the only "unparsed" uses that remain are the flag-clearing and the header validity check at the end. Signed-off-by: Petr Machata <petrm@nvidia.com> Reviewed-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com> Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org> Link: https://patch.msgid.link/2a0a940e883c435a0fdbcdc1d03c4858957ad00e.1733412063.git.petrm@nvidia.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/stackprotector.h')
0 files changed, 0 insertions, 0 deletions