diff options
author | Menglong Dong <menglong8.dong@gmail.com> | 2024-10-09 05:28:25 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-10-13 13:33:09 +0300 |
commit | d209706f562ee4fa81bdf24cf6b679c3222aa06c (patch) | |
tree | 28c66627e8d1830aa4b17dbddbcc4be5044fb16d /tools/perf/scripts/python | |
parent | 289fd4e75219a96f77c5d679166035cd5118d139 (diff) | |
download | linux-d209706f562ee4fa81bdf24cf6b679c3222aa06c.tar.xz |
net: vxlan: make vxlan_set_mac() return drop reasons
Change the return type of vxlan_set_mac() from bool to enum
skb_drop_reason. In this commit, the drop reason
"SKB_DROP_REASON_LOCAL_MAC" is introduced for the case that the source
mac of the packet is a local mac.
Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions