Segmentation fault while trying to set up xt action in tc (iproute2)

Asked by Paweł Kowalski

After fresh install of 16.04.3 server, I'm trying to do the following:

root@policer1:/home/serwis# ip link set up dev eno2
root@policer1:/home/serwis# tc qdisc add dev eno2 ingress
root@policer1:/home/serwis# tc filter add dev eno2 parent ffff: protocol ip prio 10 u32 \
> match u32 0 0 flowid 1:1 \
> action xt -j MARK --set-mark 1
Segmentation fault (core dumped)
root@policer1:/home/serwis#

eno2 is just an example, tha same happens when I use other interfaces.
When I omit the "xt" action, the filter is applied.
Using MARK taget in iptables (mangle table) works ok.

It works in 14.04 with no error.

Should I report this as a bug?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Can you help with this problem?

Provide an answer of your own, or ask Paweł Kowalski for more information if necessary.

To post a message you must log in.