From: Eric Dumazet <eric.dumazet@gmail.com>
To: greearb@candelatech.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH v3] af-packet: Add flag to distinguish VID 0 from no-vlan.
Date: Wed, 01 Jun 2011 19:08:32 +0200 [thread overview]
Message-ID: <1306948112.2890.6.camel@edumazet-laptop> (raw)
In-Reply-To: <1306946950-29360-1-git-send-email-greearb@candelatech.com>
Le mercredi 01 juin 2011 à 09:49 -0700, greearb@candelatech.com a
écrit :
> From: Ben Greear <greearb@candelatech.com>
>
> Currently, user-space cannot determine if a 0 tcp_vlan_tci
> means there is no VLAN tag or the VLAN ID was zero.
>
> Add flag to make this explicit. User-space can check for
> TP_STATUS_VLAN_VALID || tp_vlan_tci > 0, which will be backwards
> compatible. Older could would have just checked for tp_vlan_tci,
> so it will work no worse than before.
>
> Signed-off-by: Ben Greear <greearb@candelatech.com>
> ---
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Thanks
next prev parent reply other threads:[~2011-06-01 17:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 16:49 [PATCH v3] af-packet: Add flag to distinguish VID 0 from no-vlan greearb
2011-06-01 17:08 ` Eric Dumazet [this message]
2011-06-02 4:18 ` David Miller
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=1306948112.2890.6.camel@edumazet-laptop \
--to=eric.dumazet@gmail.com \
--cc=greearb@candelatech.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox