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

aya: fix tc name limit #728

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

aya: fix tc name limit #728

wants to merge 1 commit into from

Commits on Dec 1, 2023

  1. aya: fix tc name limit

    The buffer for attributes should be sized to hold at least 256 bytes, based on `CLS_BPF_NAME_LEN = 256` from the kernel:
    https://github.com/torvalds/linux/blob/02aee814/net/sched/cls_bpf.c#L28
    
    Fixes: aya-rs#610
    
    aya: add netlink_clsact_qdisc_exists function
    
    public-api: add clsact_qdisc_exists
    
    integration-test: add tc_name_limit
    
    integration-test: add tc_name_limit_exceeded
    
    Signed-off-by: Mohammad Javad Pooladkhay <m.pooladkhay@gmail.com>
    pooladkhay committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    9606690 View commit details
    Browse the repository at this point in the history