X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c5552ad03973839d83d32d7108f20c00f192633b..5581058bc0f37a1b765afde9276383ee42380100:/target/linux/generic/patches-2.6.33/150-netfilter_imq.patch diff --git a/target/linux/generic/patches-2.6.33/150-netfilter_imq.patch b/target/linux/generic/patches-2.6.33/150-netfilter_imq.patch index c078e37e6..dfde980de 100644 --- a/target/linux/generic/patches-2.6.33/150-netfilter_imq.patch +++ b/target/linux/generic/patches-2.6.33/150-netfilter_imq.patch @@ -967,9 +967,9 @@ - struct sk_buff *skb) +struct netdev_queue *dev_pick_tx(struct net_device *dev, struct sk_buff *skb) { - u16 queue_index; + int queue_index; struct sock *sk = skb->sk; -@@ -1939,6 +1945,7 @@ static struct netdev_queue *dev_pick_tx( +@@ -1938,6 +1944,7 @@ static struct netdev_queue *dev_pick_tx( skb_set_queue_mapping(skb, queue_index); return netdev_get_tx_queue(dev, queue_index); } @@ -1110,7 +1110,7 @@ new->csum = old->csum; new->local_df = old->local_df; new->pkt_type = old->pkt_type; -@@ -2779,6 +2882,13 @@ void __init skb_init(void) +@@ -2780,6 +2883,13 @@ void __init skb_init(void) 0, SLAB_HWCACHE_ALIGN|SLAB_PANIC, NULL); @@ -1184,7 +1184,7 @@ /* return EBUSY when somebody else is registered, return EEXIST if the * same handler is registered, return 0 in case of success. */ int nf_register_queue_handler(u_int8_t pf, const struct nf_queue_handler *qh) -@@ -80,7 +100,7 @@ void nf_unregister_queue_handlers(const +@@ -80,7 +100,7 @@ void nf_unregister_queue_handlers(const } EXPORT_SYMBOL_GPL(nf_unregister_queue_handlers);