Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
authorDavid S. Miller <davem@davemloft.net>
Tue, 6 Mar 2012 02:16:26 +0000 (21:16 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Mar 2012 02:16:26 +0000 (21:16 -0500)
Conflicts:
drivers/net/vmxnet3/vmxnet3_drv.c

Small vmxnet3 conflict with header size bug fix in 'net'.

Signed-off-by: David S. Miller <davem@davemloft.net>
1  2 
MAINTAINERS
drivers/net/ethernet/qlogic/qla3xxx.c
drivers/net/ethernet/realtek/r8169.c
drivers/net/vmxnet3/vmxnet3_drv.c
net/core/rtnetlink.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
@@@ -820,17 -824,14 +820,12 @@@ vmxnet3_parse_and_copy_hdr(struct sk_bu
                        ctx->eth_ip_hdr_size = skb_checksum_start_offset(skb);
  
                        if (ctx->ipv4) {
 -                              struct iphdr *iph = (struct iphdr *)
 -                                                  skb_network_header(skb);
 +                              const struct iphdr *iph = ip_hdr(skb);
 +
                                if (iph->protocol == IPPROTO_TCP)
 -                                      ctx->l4_hdr_size = ((struct tcphdr *)
 -                                         skb_transport_header(skb))->doff * 4;
 +                                      ctx->l4_hdr_size = tcp_hdrlen(skb);
                                else if (iph->protocol == IPPROTO_UDP)
-                                       /*
-                                        * Use tcp header size so that bytes to
-                                        * be copied are more than required by
-                                        * the device.
-                                        */
-                                       ctx->l4_hdr_size = sizeof(struct tcphdr);
 -                                      ctx->l4_hdr_size =
 -                                                      sizeof(struct udphdr);
++                                      ctx->l4_hdr_size = sizeof(struct udphdr);
                                else
                                        ctx->l4_hdr_size = 0;
                        } else {
Simple merge