29 Jan, 2008
40 commits
-
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Resync get_entries() with ip_tables.c by moving the checks from the
setsockopt handler to the function itself.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
More resyncing with ip_tables.c as preparation for compat support.
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Resync with ip_tables.c as preparation for compat support.
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Remove compatiblity hack copied from ip_tables.c - ipchains didn't even
support arp_tables :)Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Use vmalloc_node() as in ip_tables.c.
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
The size check is already performed by xt_check_target, no need
to do it again.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
ipchains support has been removed years ago. kill last remains.
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Use raw_smp_processor_id() in do_add_counters() as in ip_tables.c.
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Fix leakage of local variable on stack. This already got fixed in
ip_tables silently by the compat patches.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Use %zu for sizeof() and remove casts.
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Reformat ip_tables.c and ip6_tables.c in order to eliminate non-functional
differences and minimize diff output.This allows to get a view of the real differences using:
sed -e 's/IP6T/IPT/g' \
-e 's/IP6/IP/g' \
-e 's/INET6/INET/g' \
-e 's/ip6t/ipt/g' \
-e 's/ip6/ip/g' \
-e 's/ipv6/ip/g' \
-e 's/icmp6/icmp/g' \
net/ipv6/netfilter/ip6_tables.c | \
diff -wup /dev/stdin net/ipv4/netfilter/ip_tables.cSigned-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Old userspace doesn't support revision 1, especially for IPv6, which
is only available in the SVN snapshot.Add compat support for revision 0.
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
The current netfilter SVN version includes support for this, so enable
it in the kernel as well.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Resync get_entries() with ip_tables.c by moving the checks from the
setsockopt handler to the function itself.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
More resyncing with ip_tables.c as preparation for compat support.
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Consistently use vmalloc_node for all counter allocations.
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Resync with ip_tables.c as preparation for compat support.
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Its needed by ip6_tables and arp_tables as well.
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Use compat types and compat iterators when dealing with compat entries for
clarity. This doesn't actually make a difference for ip_tables, but is
needed for ip6_tables and arp_tables.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Account for size differences when dumping entries or calculating the
entry positions. This doesn't actually make any difference for IPv4
since the structures have the same size, but its logically correct
and needed for IPv6.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Make xt_compat_match_from_user return an int to make it usable in the
*tables iterator macros and kill a now unnecessary wrapper function.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
The compat code has some very odd formating, clean it up before porting
it to ip6_tables.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Introduce scan capabilities to WEXT so that userspace can do intelligent
things with scan behavior such as handling hidden SSIDs more gracefully.
If the driver reports a specific scan capability, the driver must
respect the options specified in the iw_scan_req structure when handling
the SIOCSIWSCAN call, unless it's mode or state does not allow it to do
so, in which case it must return an error.This version switches to Dave Kilroy's suggestion of claiming unused
padding space for the scan_capa field.Signed-off-by: Dan Williams
Signed-off-by: John W. Linville
Signed-off-by: David S. Miller -
This makes mac80211 include the low-level MAC timestamp
in the radiotap header if the driver indicated (by a new
RX flag) that the timestamp is valid.Signed-off-by: Johannes Berg
Signed-off-by: John W. Linville
Signed-off-by: David S. Miller -
The function follows48(), which is a special-case of dccp_delta_seqno(),
is nowhere used in the DCCP code, thus removed by this patch.Signed-off-by: Gerrit Renker
Signed-off-by: Ian McDonald
Signed-off-by: Arnaldo Carvalho de Melo
Signed-off-by: David S. Miller -
This implements the changes to the nofeedback timer handling suggested
in draft rfc3448bis00, section 4.4. In particular, these changes mean:* better handling of the lossless case (p == 0)
* the timestamp for computing t_ld becomes obsolete
* much more recent document (RFC 3448 is almost 5 years old)
* concepts in rfc3448bis arose from a real, working implementation
(cf. sec. 12)Signed-off-by: Gerrit Renker
Signed-off-by: Ian McDonald
Signed-off-by: Arnaldo Carvalho de Melo
Signed-off-by: David S. Miller -
This implements the algorithm to update the allowed sending rate X upon
receiving feedback packets, as described in draft rfc3448bis, 4.2/4.3.Signed-off-by: Gerrit Renker
Signed-off-by: Ian McDonald
Signed-off-by: Arnaldo Carvalho de Melo
Signed-off-by: David S. Miller -
* the NO_SENT state is only triggered in bidirectional mode,
costing unnecessary processing.
* the TERM (terminating) state is irrelevant.Signed-off-by: Gerrit Renker
Signed-off-by: Ian McDonald
Signed-off-by: Arnaldo Carvalho de Melo
Signed-off-by: David S. Miller -
This patch
1) concentrates previously scattered computation of p_inv into one function;
2) removes the `p' element of the CCID3 RX sock (it is redundant);
3) makes the tfrc_rx_info structure standalone, only used on demand.Signed-off-by: Gerrit Renker
Signed-off-by: Ian McDonald
Signed-off-by: Arnaldo Carvalho de Melo
Signed-off-by: David S. Miller -
The crc32c library used an identical table and algorithm
as SCTP. Switch to using the library instead of carrying
our own table. Using crypto layer proved to have too
much overhead compared to using the library directly.Signed-off-by: Vlad Yasevich
Signed-off-by: David S. Miller -
The seq_open_net patch changed the meaning of seq->private.
Unfortunately it missed two spots in AF_PACKET, which still
used the old way of dereferencing seq->private, thus causing
weird and wonderful crashes when reading /proc/net/packet.Signed-off-by: Herbert Xu
Signed-off-by: David S. Miller -
Signed-off-by: Joe Perches
Acked-by: Vlad Yasevich
Signed-off-by: David S. Miller -
Signed-off-by: Joe Perches
Signed-off-by: David S. Miller