From: Patrick McHardy <kaber@trash.net>
To: "David S. Miller" <davem@davemloft.net>
Cc: Maillist netdev <netdev@oss.sgi.com>
Subject: [PATCH PKT_SCHED 3/4]: cls_route: fix tcf_exts fallout
Date: Wed, 19 Jan 2005 05:38:46 +0100 [thread overview]
Message-ID: <41EDE456.3050600@trash.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: 03.diff --]
[-- Type: text/x-patch, Size: 1061 bytes --]
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2005/01/19 04:53:51+01:00 kaber@coreworks.de
# [PKT_SCHED]: cls_route: fix tcf_exts fallout
#
# handle is computed wrong, this makes creating a filter not using
# "from" fail.
#
# Signed-off-by: Patrick McHardy <kaber@trash.net>
#
# net/sched/cls_route.c
# 2005/01/19 04:53:43+01:00 kaber@coreworks.de +2 -2
# [PKT_SCHED]: cls_route: fix tcf_exts fallout
#
# handle is computed wrong, this makes creating a filter not using
# "from" fail.
#
# Signed-off-by: Patrick McHardy <kaber@trash.net>
#
diff -Nru a/net/sched/cls_route.c b/net/sched/cls_route.c
--- a/net/sched/cls_route.c 2005-01-19 05:29:55 +01:00
+++ b/net/sched/cls_route.c 2005-01-19 05:29:55 +01:00
@@ -384,9 +384,9 @@
id = *(u32*)RTA_DATA(tb[TCA_ROUTE4_IIF-1]);
if (id > 0x7FFF)
goto errout;
- nhandle = (id | 0x8000) << 16;
+ nhandle |= (id | 0x8000) << 16;
} else
- nhandle = 0xFFFF << 16;
+ nhandle |= 0xFFFF << 16;
if (handle && new) {
nhandle |= handle & 0x7F00;
reply other threads:[~2005-01-19 4:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=41EDE456.3050600@trash.net \
--to=kaber@trash.net \
--cc=davem@davemloft.net \
--cc=netdev@oss.sgi.com \
/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;
as well as URLs for NNTP newsgroup(s).