]> git.baikalelectronics.ru Git - kernel.git/commitdiff
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
index 4c6f84c79e9564b83cf0fc49583a1b678017ab83,957cc5c3653dfe53215b4b1e61dabed082dce6b2..4a34bcb6549f7eadd05c63288eae252f7c277452
@@@ -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;
  }
index 6b0b2a057a471c9c0f3f1cc27658271fa39bc4f0,e26cbea1ce68dde18805a67be9e5ed861558036d..3c5a8d8cde5077bc0c2d39d2f0aadc4e7d4a6231
@@@ -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