05 Feb, 2011

1 commit


29 Jan, 2011

1 commit


27 Jan, 2011

1 commit


25 Jan, 2011

1 commit

  • iprange_ipv6_sub was substracting 2 unsigned ints and then casting
    the result to int to find out whether they are lt, eq or gt each
    other, this doesn't work if the full 32 bits of each part
    can be used in IPv6 addresses. Patch should remedy that without
    significant performance penalties. Also number of ntohl
    calls can be reduced this way (Jozsef Kadlecsik).

    Signed-off-by: Thomas Jacob
    Signed-off-by: Patrick McHardy

    Thomas Jacob
     

12 May, 2010

2 commits


25 Mar, 2010

1 commit

  • Supplement to 1159683ef48469de71dc26f0ee1a9c30d131cf89.

    Downgrade the log level to INFO for most checkentry messages as they
    are, IMO, just an extra information to the -EINVAL code that is
    returned as part of a parameter "constraint violation". Leave errors
    to real errors, such as being unable to create a LED trigger.

    Signed-off-by: Jan Engelhardt

    Jan Engelhardt
     

10 Aug, 2009

1 commit


31 Oct, 2008

1 commit


20 Oct, 2008

1 commit


08 Oct, 2008

2 commits

  • The function signatures for Xtables extensions have grown over time.
    It involves a lot of typing/replication, and also a bit of stack space
    even if they are not used. Realize an NFWS2008 idea and pack them into
    structs. The skb remains outside of the struct so gcc can continue to
    apply its optimizations.

    This patch does this for match extensions' match functions.

    A few ambiguities have also been addressed. The "offset" parameter for
    example has been renamed to "fragoff" (there are so many different
    offsets already) and "protoff" to "thoff" (there is more than just one
    protocol here, so clarify).

    Signed-off-by: Jan Engelhardt
    Signed-off-by: Patrick McHardy

    Jan Engelhardt
     
  • Signed-off-by: Jan Engelhardt
    Signed-off-by: Patrick McHardy

    Jan Engelhardt
     

14 May, 2008

1 commit

  • Using iptables 1.3.8 with kernel 2.6.25, rules which include '-m
    iprange' don't automatically pull in xt_iprange module. Below patch
    adds module aliases to fix that. Patch against latest -git, but seems
    like a good candidate for -stable also.

    Signed-off-by: Phil Oester
    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Phil Oester
     

20 Feb, 2008

1 commit


08 Feb, 2008

2 commits


01 Feb, 2008

1 commit

  • CHECK net/netfilter/xt_iprange.c
    net/netfilter/xt_iprange.c:104:19: warning: restricted degrades to integer
    net/netfilter/xt_iprange.c:104:37: warning: restricted degrades to integer
    net/netfilter/xt_iprange.c:104:19: warning: restricted degrades to integer
    net/netfilter/xt_iprange.c:104:37: warning: restricted degrades to integer
    net/netfilter/xt_iprange.c:104:19: warning: restricted degrades to integer
    net/netfilter/xt_iprange.c:104:37: warning: restricted degrades to integer
    net/netfilter/xt_iprange.c:104:19: warning: restricted degrades to integer
    net/netfilter/xt_iprange.c:104:37: warning: restricted degrades to integer

    Signed-off-by: Patrick McHardy
    Signed-off-by: David S. Miller

    Patrick McHardy
     

29 Jan, 2008

2 commits