All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jarek Poplawski <jarkao2@gmail.com>
To: thomas yang <lampsu@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: [ tc ] RTNETLINK answers: Invalid argument
Date: Sat, 28 Nov 2009 23:14:28 +0100	[thread overview]
Message-ID: <4B11A0C4.2040608@gmail.com> (raw)
In-Reply-To: <f4f837ab0911240312x329043b9y7e4694f046121237@mail.gmail.com>

thomas yang wrote, On 11/24/2009 12:12 PM:

> # tc filter add dev eth1 parent 1: protocol ip prio 10 u32 match ip
> src 192.168.1.0/24 flowid 1:16 action mirred egress mirror dev wlan0
> Action 3 device wlan0 ifindex 4
> RTNETLINK answers: Invalid argument
> We have an error talking to the kernel
> 
> 
> # uname -a
> Linux localhost.localdomain 2.6.30.8-64.fc11.i586 #1 SMP Fri Sep 25
> 04:30:19 EDT 2009 i686 i686 i386 GNU/Linux
> 
> OS :  Fedora 11

# tc filter add dev eth0 parent 1: protocol ip prio 10 u32 match ip
src 192.168.1.0/24 flowid 1:16 action mirred egress mirror dev wlan0
Action 3 device wlan0 ifindex 3
# uname -a
Linux ami 2.6.32-rc8g #72 PREEMPT Sat Nov 21 14:41:09 CET 2009 i686 GNU/Linux

I checked 2.6.31 too. So, generally it should work with current kernels,
at least x86_32.

Jarek P.

      reply	other threads:[~2009-11-28 22:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 11:12 [ tc ] RTNETLINK answers: Invalid argument thomas yang
2009-11-28 22:14 ` Jarek Poplawski [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B11A0C4.2040608@gmail.com \
    --to=jarkao2@gmail.com \
    --cc=lampsu@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.