summaryrefslogtreecommitdiff
path: root/include/linux/workqueue.h
diff options
context:
space:
mode:
authorJiri Benc <jbenc@redhat.com>2023-07-21 16:30:46 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-09-23 10:47:57 +0200
commit3faedbc08f06a09e3e9773df6aaa8f2df943a651 (patch)
tree25c69019940dcb0466ec3a7491f14b9632b11311 /include/linux/workqueue.h
parent2828f7919cd6cd2c200d2cc54dc21665d1a8d8f4 (diff)
vxlan: generalize vxlan_parse_gpe_hdr and remove unused args
[ Upstream commit 17a0a64448b568442a101de09575f81ffdc45d15 ] The vxlan_parse_gpe_hdr function extracts the next protocol value from the GPE header and marks GPE bits as parsed. In order to be used in the next patch, split the function into protocol extraction and bit marking. The bit marking is meaningful only in vxlan_rcv; move it directly there. Rename the function to vxlan_parse_gpe_proto to reflect what it now does. Remove unused arguments skb and vxflags. Move the function earlier in the file to allow it to be called from more places in the next patch. Signed-off-by: Jiri Benc <jbenc@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions