Skip to content

With Linux 4.9, loadBpfObjects() failed, error=argument list too long #1434

@PonnyS

Description

@PonnyS

Describe the bug

I encountered an error while running the `cgroup_skb` example in Linux 4.9, error=`loading objects: field CountEgressPackets: program count_egress_packets: load program: argument list too long`. 

Although cgroup_skb dont support with Linux 4.9, but README.md mentions that working with Linux >= 4.9, so loadBpfObjects() should be ok but failed.

So i want to know whether Linux 4.9 is supported? 

Tks.

How to reproduce

Linux: 4.9.113

Code: examples/cgroup_skb

Version information

latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions