Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpf: fix typo in function name #10589

Merged
merged 1 commit into from Mar 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions bpf/lib/encap.h
Expand Up @@ -12,8 +12,8 @@
#ifdef ENCAP_IFINDEX
#ifdef ENABLE_IPSEC
static __always_inline int
enacap_and_redirect_nomark_ipsec(struct __ctx_buff *ctx, __u32 tunnel_endpoint,
__u8 key, __u32 seclabel)
encap_and_redirect_nomark_ipsec(struct __ctx_buff *ctx, __u32 tunnel_endpoint,
__u8 key, __u32 seclabel)
{
/* Traffic from local host in tunnel mode will be passed to
* cilium_host. In non-IPSec case traffic with non-local dst
Expand Down Expand Up @@ -159,7 +159,7 @@ encap_and_redirect_with_nodeid(struct __ctx_buff *ctx, __u32 tunnel_endpoint,
{
#ifdef ENABLE_IPSEC
if (key)
return enacap_and_redirect_nomark_ipsec(ctx, tunnel_endpoint, key, seclabel);
return encap_and_redirect_nomark_ipsec(ctx, tunnel_endpoint, key, seclabel);
#endif
return __encap_and_redirect_with_nodeid(ctx, tunnel_endpoint, seclabel, monitor);
}
Expand Down Expand Up @@ -219,7 +219,7 @@ encap_and_redirect_netdev(struct __ctx_buff *ctx, struct endpoint_key *k,
if (tunnel->key) {
__u8 key = get_min_encrypt_key(tunnel->key);

return enacap_and_redirect_nomark_ipsec(ctx, tunnel->ip4,
return encap_and_redirect_nomark_ipsec(ctx, tunnel->ip4,
key, seclabel);
}
#endif
Expand Down