Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
authorDavid S. Miller <davem@davemloft.net>
Tue, 10 Dec 2013 01:20:14 +0000 (20:20 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 Dec 2013 01:20:14 +0000 (20:20 -0500)
Merge 'net' into 'net-next' to get the AF_PACKET bug fix that
Daniel's direct transmit changes depend upon.

Signed-off-by: David S. Miller <davem@davemloft.net>
1  2 
MAINTAINERS
drivers/net/bonding/bond_sysfs.c
drivers/net/ethernet/nvidia/forcedeth.c
drivers/net/macvtap.c
drivers/net/tun.c
drivers/net/virtio_net.c
net/packet/af_packet.c
net/sched/act_skbedit.c
net/sctp/transport.c

diff --cc MAINTAINERS
Simple merge
Simple merge
@@@ -870,8 -874,10 +870,10 @@@ static ssize_t macvtap_aio_read(struct 
                goto out;
        }
  
 -      ret = macvtap_do_read(q, iocb, iv, len, file->f_flags & O_NONBLOCK);
 +      ret = macvtap_do_read(q, iv, len, file->f_flags & O_NONBLOCK);
        ret = min_t(ssize_t, ret, len); /* XXX copied from tun.c. Why? */
+       if (ret > 0)
+               iocb->ki_pos = ret;
  out:
        return ret;
  }
@@@ -1352,9 -1353,11 +1352,11 @@@ static ssize_t tun_chr_aio_read(struct 
                goto out;
        }
  
 -      ret = tun_do_read(tun, tfile, iocb, iv, len,
 +      ret = tun_do_read(tun, tfile, iv, len,
                          file->f_flags & O_NONBLOCK);
        ret = min_t(ssize_t, ret, len);
+       if (ret > 0)
+               iocb->ki_pos = ret;
  out:
        tun_put(tun);
        return ret;
Simple merge
Simple merge
Simple merge
Simple merge