* [PATCH] src: proto: fixed a rreply symbol
@ 2014-02-17 10:41 Ana Rey
2014-02-17 10:46 ` Patrick McHardy
0 siblings, 1 reply; 2+ messages in thread
From: Ana Rey @ 2014-02-17 10:41 UTC (permalink / raw)
To: netfilter-devel; +Cc: Ana Rey
There is a bug with rreply symbol. The rreply and reply symbol were the same.
There is a reproduction of this bug here:
$ sudo nft add rule arp art-t filter arp operation reply
$ sudo nft list table arp art-t
table arp art-t {
chain filter {
type filter hook input priority 0;
arp operation 512
}
}
$ sudo nft add rule arp art-t filter arp operation rreply
$ sudo nft list table arp art-t
table arp art-t {
chain filter {
type filter hook input priority 0;
arp operation 512 <=====
arp operation 512 <=====
}
}
src/proto.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/proto.c b/src/proto.c
index cc073af..3e62f92 100644
--- a/src/proto.c
+++ b/src/proto.c
@@ -661,7 +661,7 @@ static const struct symbol_table arpop_tbl = {
SYMBOL("request", ARPOP_REQUEST),
SYMBOL("reply", ARPOP_REPLY),
SYMBOL("rrequest", ARPOP_RREQUEST),
- SYMBOL("rreply", ARPOP_REPLY),
+ SYMBOL("rreply", ARPOP_RREPLY),
SYMBOL("inrequest", ARPOP_InREQUEST),
SYMBOL("inreply", ARPOP_InREPLY),
SYMBOL("nak", ARPOP_NAK),
--
1.8.5.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] src: proto: fixed a rreply symbol
2014-02-17 10:41 [PATCH] src: proto: fixed a rreply symbol Ana Rey
@ 2014-02-17 10:46 ` Patrick McHardy
0 siblings, 0 replies; 2+ messages in thread
From: Patrick McHardy @ 2014-02-17 10:46 UTC (permalink / raw)
To: Ana Rey; +Cc: netfilter-devel
On Mon, Feb 17, 2014 at 11:41:23AM +0100, Ana Rey wrote:
> There is a bug with rreply symbol. The rreply and reply symbol were the same.
>
> There is a reproduction of this bug here:
> $ sudo nft add rule arp art-t filter arp operation reply
> $ sudo nft list table arp art-t
> table arp art-t {
> chain filter {
> type filter hook input priority 0;
> arp operation 512
> }
> }
>
> $ sudo nft add rule arp art-t filter arp operation rreply
> $ sudo nft list table arp art-t
> table arp art-t {
> chain filter {
> type filter hook input priority 0;
> arp operation 512 <=====
> arp operation 512 <=====
> }
> }
Applied, thanks.
Please remember to sign off your patches next time.
>
> src/proto.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/proto.c b/src/proto.c
> index cc073af..3e62f92 100644
> --- a/src/proto.c
> +++ b/src/proto.c
> @@ -661,7 +661,7 @@ static const struct symbol_table arpop_tbl = {
> SYMBOL("request", ARPOP_REQUEST),
> SYMBOL("reply", ARPOP_REPLY),
> SYMBOL("rrequest", ARPOP_RREQUEST),
> - SYMBOL("rreply", ARPOP_REPLY),
> + SYMBOL("rreply", ARPOP_RREPLY),
> SYMBOL("inrequest", ARPOP_InREQUEST),
> SYMBOL("inreply", ARPOP_InREPLY),
> SYMBOL("nak", ARPOP_NAK),
> --
> 1.8.5.3
>
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-17 10:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-17 10:41 [PATCH] src: proto: fixed a rreply symbol Ana Rey
2014-02-17 10:46 ` Patrick McHardy
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).