diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-20 18:58:50 -0800 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-02-20 18:58:50 -0800 | 
| commit | a0b1c42951dd06ec83cc1bc2c9788131d9fefcd8 (patch) | |
| tree | a572f1523cf904c93020c9cdb32f3bc84ec3ac16 /include/net/act_api.h | |
| parent | 8ec4942212a6d337982967778a3dc3b60aea782e (diff) | |
| parent | ecd9883724b78cc72ed92c98bcb1a46c764fff21 (diff) | |
| download | olio-linux-3.10-a0b1c42951dd06ec83cc1bc2c9788131d9fefcd8.tar.xz olio-linux-3.10-a0b1c42951dd06ec83cc1bc2c9788131d9fefcd8.zip  | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
Pull networking update from David Miller:
 1) Checkpoint/restarted TCP sockets now can properly propagate the TCP
    timestamp offset.  From Andrey Vagin.
 2) VMWARE VM VSOCK layer, from Andy King.
 3) Much improved support for virtual functions and SR-IOV in bnx2x,
    from Ariel ELior.
 4) All protocols on ipv4 and ipv6 are now network namespace aware, and
    all the compatability checks for initial-namespace-only protocols is
    removed.  Thanks to Tom Parkin for helping deal with the last major
    holdout, L2TP.
 5) IPV6 support in netpoll and network namespace support in pktgen,
    from Cong Wang.
 6) Multiple Registration Protocol (MRP) and Multiple VLAN Registration
    Protocol (MVRP) support, from David Ward.
 7) Compute packet lengths more accurately in the packet scheduler, from
    Eric Dumazet.
 8) Use per-task page fragment allocator in skb_append_datato_frags(),
    also from Eric Dumazet.
 9) Add support for connection tracking labels in netfilter, from
    Florian Westphal.
10) Fix default multicast group joining on ipv6, and add anti-spoofing
    checks to 6to4 and 6rd.  From Hannes Frederic Sowa.
11) Make ipv4/ipv6 fragmentation memory limits more reasonable in modern
    times, rearrange inet frag datastructures for better cacheline
    locality, and move more operations outside of locking.  From Jesper
    Dangaard Brouer.
12) Instead of strict master <--> slave relationships, allow arbitrary
    scenerios with "upper device lists".  From Jiri Pirko.
13) Improve rate limiting accuracy in TBF and act_police, also from Jiri
    Pirko.
14) Add a BPF filter netfilter match target, from Willem de Bruijn.
15) Orphan and delete a bunch of pre-historic networking drivers from
    Paul Gortmaker.
16) Add TSO support for GRE tunnels, from Pravin B SHelar.  Although
    this still needs some minor bug fixing before it's %100 correct in
    all cases.
17) Handle unresolved IPSEC states like ARP, with a resolution packet
    queue.  From Steffen Klassert.
18) Remove TCP Appropriate Byte Count support (ABC), from Stephen
    Hemminger.  This was long overdue.
19) Support SO_REUSEPORT, from Tom Herbert.
20) Allow locking a socket BPF filter, so that it cannot change after a
    process drops capabilities.
21) Add VLAN filtering to bridge, from Vlad Yasevich.
22) Bring ipv6 on-par with ipv4 and do not cache neighbour entries in
    the ipv6 routes, from YOSHIFUJI Hideaki.
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next: (1538 commits)
  ipv6: fix race condition regarding dst->expires and dst->from.
  net: fix a wrong assignment in skb_split()
  ip_gre: remove an extra dst_release()
  ppp: set qdisc_tx_busylock to avoid LOCKDEP splat
  atl1c: restore buffer state
  net: fix a build failure when !CONFIG_PROC_FS
  net: ipv4: fix waring -Wunused-variable
  net: proc: fix build failed when procfs is not configured
  Revert "xen: netback: remove redundant xenvif_put"
  net: move procfs code to net/core/net-procfs.c
  qmi_wwan, cdc-ether: add ADU960S
  bonding: set sysfs device_type to 'bond'
  bonding: fix bond_release_all inconsistencies
  b44: use netdev_alloc_skb_ip_align()
  xen: netback: remove redundant xenvif_put
  net: fec: Do a sanity check on the gpio number
  ip_gre: propogate target device GSO capability to the tunnel device
  ip_gre: allow CSUM capable devices to handle packets
  bonding: Fix initialize after use for 3ad machine state spinlock
  bonding: Fix race condition between bond_enslave() and bond_3ad_update_lacp_rate()
  ...
Diffstat (limited to 'include/net/act_api.h')
| -rw-r--r-- | include/net/act_api.h | 27 | 
1 files changed, 9 insertions, 18 deletions
diff --git a/include/net/act_api.h b/include/net/act_api.h index c739531e156..06ef7e926a6 100644 --- a/include/net/act_api.h +++ b/include/net/act_api.h @@ -35,21 +35,6 @@ struct tcf_common {  #define tcf_lock	common.tcfc_lock  #define tcf_rcu		common.tcfc_rcu -struct tcf_police { -	struct tcf_common	common; -	int			tcfp_result; -	u32			tcfp_ewma_rate; -	u32			tcfp_burst; -	u32			tcfp_mtu; -	u32			tcfp_toks; -	u32			tcfp_ptoks; -	psched_time_t		tcfp_t_c; -	struct qdisc_rate_table	*tcfp_R_tab; -	struct qdisc_rate_table	*tcfp_P_tab; -}; -#define to_police(pc)	\ -	container_of(pc, struct tcf_police, common) -  struct tcf_hashinfo {  	struct tcf_common	**htab;  	unsigned int		hmask; @@ -91,7 +76,9 @@ struct tc_action_ops {  	int     (*dump)(struct sk_buff *, struct tc_action *, int, int);  	int     (*cleanup)(struct tc_action *, int bind);  	int     (*lookup)(struct tc_action *, u32); -	int     (*init)(struct nlattr *, struct nlattr *, struct tc_action *, int , int); +	int     (*init)(struct net *net, struct nlattr *nla, +			struct nlattr *est, struct tc_action *act, int ovr, +			int bind);  	int     (*walk)(struct sk_buff *, struct netlink_callback *, int, struct tc_action *);  }; @@ -116,8 +103,12 @@ extern int tcf_register_action(struct tc_action_ops *a);  extern int tcf_unregister_action(struct tc_action_ops *a);  extern void tcf_action_destroy(struct tc_action *a, int bind);  extern int tcf_action_exec(struct sk_buff *skb, const struct tc_action *a, struct tcf_result *res); -extern struct tc_action *tcf_action_init(struct nlattr *nla, struct nlattr *est, char *n, int ovr, int bind); -extern struct tc_action *tcf_action_init_1(struct nlattr *nla, struct nlattr *est, char *n, int ovr, int bind); +extern struct tc_action *tcf_action_init(struct net *net, struct nlattr *nla, +					 struct nlattr *est, char *n, int ovr, +					 int bind); +extern struct tc_action *tcf_action_init_1(struct net *net, struct nlattr *nla, +					   struct nlattr *est, char *n, int ovr, +					   int bind);  extern int tcf_action_dump(struct sk_buff *skb, struct tc_action *a, int, int);  extern int tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int, int);  extern int tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int, int);  |