Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
authorDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 23:02:55 +0000 (16:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Jun 2014 23:02:55 +0000 (16:02 -0700)
Conflicts:
net/core/rtnetlink.c
net/core/skbuff.c

Both conflicts were very simple overlapping changes.

Signed-off-by: David S. Miller <davem@davemloft.net>
1  2 
arch/sparc/net/bpf_jit_comp.c
drivers/net/macvlan.c
net/core/dev.c
net/core/rtnetlink.c
net/core/skbuff.c
net/dns_resolver/dns_query.c
net/ipv4/ip_tunnel.c
net/ipv4/ipip.c
net/ipv6/output_core.c
net/ipv6/sit.c
net/mac80211/iface.c

index c88cf147deed8916ae46b0bd1d2e0faa7e478003,49cee4af16f437d17af35e725d56cce426185671..892a102671adafc03950f907612f23b6902f934a
@@@ -589,23 -597,23 +589,23 @@@ void bpf_jit_compile(struct sk_filter *
                                emit_alu_K(SRL, 5);
                                break;
  #endif
 -                      case BPF_S_ANC_IFINDEX:
 +                      case BPF_ANC | SKF_AD_IFINDEX:
                                emit_skb_loadptr(dev, r_A);
                                emit_cmpi(r_A, 0);
-                               emit_branch(BNE_PTR, cleanup_addr + 4);
+                               emit_branch(BE_PTR, cleanup_addr + 4);
                                emit_nop();
                                emit_load32(r_A, struct net_device, ifindex, r_A);
                                break;
 -                      case BPF_S_ANC_MARK:
 +                      case BPF_ANC | SKF_AD_MARK:
                                emit_skb_load32(mark, r_A);
                                break;
 -                      case BPF_S_ANC_QUEUE:
 +                      case BPF_ANC | SKF_AD_QUEUE:
                                emit_skb_load16(queue_mapping, r_A);
                                break;
 -                      case BPF_S_ANC_HATYPE:
 +                      case BPF_ANC | SKF_AD_HATYPE:
                                emit_skb_loadptr(dev, r_A);
                                emit_cmpi(r_A, 0);
-                               emit_branch(BNE_PTR, cleanup_addr + 4);
+                               emit_branch(BE_PTR, cleanup_addr + 4);
                                emit_nop();
                                emit_load16(r_A, struct net_device, type, r_A);
                                break;
Simple merge
diff --cc net/core/dev.c
Simple merge
index 741b22c62acfd68176e73492569084cd8ac5f1e4,d57d7bc22182180d01cb3f0b45a9a83fdd5499fa..233b5ae875834b27613c43d384d87eb00154e3e4
@@@ -1214,8 -1208,8 +1214,10 @@@ static const struct nla_policy ifla_vf_
                                    .len = sizeof(struct ifla_vf_tx_rate) },
        [IFLA_VF_SPOOFCHK]      = { .type = NLA_BINARY,
                                    .len = sizeof(struct ifla_vf_spoofchk) },
 +      [IFLA_VF_RATE]          = { .type = NLA_BINARY,
 +                                  .len = sizeof(struct ifla_vf_rate) },
+       [IFLA_VF_LINK_STATE]    = { .type = NLA_BINARY,
+                                   .len = sizeof(struct ifla_vf_link_state) },
  };
  
  static const struct nla_policy ifla_port_policy[IFLA_PORT_MAX+1] = {
index b9e85e6cb26af61abcbf44ca97503301d01285bf,9433047b2453bff4e7accb0c7ceff9a5f9886acf..bf92824af3f77179e519f73085f6642c32ca61b6
@@@ -2889,10 -2886,8 +2890,9 @@@ struct sk_buff *skb_segment(struct sk_b
        if (unlikely(!proto))
                return ERR_PTR(-EINVAL);
  
 -      csum = !!can_checksum_protocol(features, proto);
 +      csum = !head_skb->encap_hdr_csum &&
 +          !!can_checksum_protocol(features, proto);
  
-       __skb_push(head_skb, doffset);
        headroom = skb_headroom(head_skb);
        pos = skb_headlen(head_skb);
  
Simple merge
Simple merge
diff --cc net/ipv4/ipip.c
Simple merge
Simple merge
diff --cc net/ipv6/sit.c
Simple merge
Simple merge