From: Pawel Sikora <pluto@agmk.net>
To: Netfilter Development Mailinglist
<netfilter-devel@lists.netfilter.org>,
Patrick McHardy <kaber@trash.net>
Subject: [TRIVIAL PATCH] pptp / kill gcc warnings.
Date: Mon, 1 Aug 2005 12:08:19 +0200 [thread overview]
Message-ID: <200508011208.19824.pluto@agmk.net> (raw)
[-- Attachment #1: Type: text/plain, Size: 1 bytes --]
[-- Attachment #2: pptp.diff --]
[-- Type: text/x-diff, Size: 1259 bytes --]
CC [M] net/ipv4/netfilter/ip_conntrack_proto_gre.o
net/ipv4/netfilter/ip_conntrack_proto_gre.c: In function 'gre_packet':
net/ipv4/netfilter/ip_conntrack_proto_gre.c:283: warning:
passing argument 3 of 'ip_ct_refresh_acct' discards qualifiers from pointer target type
net/ipv4/netfilter/ip_conntrack_proto_gre.c:288: warning:
passing argument 3 of 'ip_ct_refresh_acct' discards qualifiers from pointer target type
net/ipv4/netfilter/ip_conntrack_proto_gre.c: At top level:
net/ipv4/netfilter/ip_conntrack_proto_gre.c:329: warning:
initialization from incompatible pointer type
Index: linux-2.6.11/net/ipv4/netfilter/ip_conntrack_proto_gre.c
===================================================================
--- linux-2.6.11/net/ipv4/netfilter/ip_conntrack_proto_gre.c (revision 4208)
+++ linux-2.6.11/net/ipv4/netfilter/ip_conntrack_proto_gre.c (working copy)
@@ -273,7 +273,7 @@
/* Returns verdict for packet, and may modify conntrack */
static int gre_packet(struct ip_conntrack *ct,
- const struct sk_buff *skb,
+ struct sk_buff *skb,
enum ip_conntrack_info conntrackinfo)
{
/* If we've seen traffic both ways, this is a GRE connection.
next reply other threads:[~2005-08-01 10:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-01 10:08 Pawel Sikora [this message]
2005-11-03 18:16 ` [TRIVIAL PATCH] pptp / kill gcc warnings Harald Welte
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=200508011208.19824.pluto@agmk.net \
--to=pluto@agmk.net \
--cc=kaber@trash.net \
--cc=netfilter-devel@lists.netfilter.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.