Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts: drivers/net/sfc/net_driver.h drivers/net/sfc/siena.c
This commit is contained in:
@@ -2805,7 +2805,7 @@ static int __netif_receive_skb(struct sk_buff *skb)
|
||||
struct net_device *orig_dev;
|
||||
struct net_device *master;
|
||||
struct net_device *null_or_orig;
|
||||
struct net_device *null_or_bond;
|
||||
struct net_device *orig_or_bond;
|
||||
int ret = NET_RX_DROP;
|
||||
__be16 type;
|
||||
|
||||
@@ -2882,10 +2882,10 @@ ncls:
|
||||
* device that may have registered for a specific ptype. The
|
||||
* handler may have to adjust skb->dev and orig_dev.
|
||||
*/
|
||||
null_or_bond = NULL;
|
||||
orig_or_bond = orig_dev;
|
||||
if ((skb->dev->priv_flags & IFF_802_1Q_VLAN) &&
|
||||
(vlan_dev_real_dev(skb->dev)->priv_flags & IFF_BONDING)) {
|
||||
null_or_bond = vlan_dev_real_dev(skb->dev);
|
||||
orig_or_bond = vlan_dev_real_dev(skb->dev);
|
||||
}
|
||||
|
||||
type = skb->protocol;
|
||||
@@ -2893,7 +2893,7 @@ ncls:
|
||||
&ptype_base[ntohs(type) & PTYPE_HASH_MASK], list) {
|
||||
if (ptype->type == type && (ptype->dev == null_or_orig ||
|
||||
ptype->dev == skb->dev || ptype->dev == orig_dev ||
|
||||
ptype->dev == null_or_bond)) {
|
||||
ptype->dev == orig_or_bond)) {
|
||||
if (pt_prev)
|
||||
ret = deliver_skb(skb, pt_prev, orig_dev);
|
||||
pt_prev = ptype;
|
||||
|
Reference in New Issue
Block a user