In net_sendfile(), correct parameter passed to netdev_txnotifiy. From Max Holtzberg

This commit is contained in:
Gregory Nutt 2013-10-17 09:24:25 -06:00
parent bf5ae4a374
commit 69dac5c775
2 changed files with 3 additions and 1 deletions

View File

@ -5780,4 +5780,6 @@
* net/send.c and net_sendfile.c: Reset the send timeout when the
data is ACKed, not when the data is sent. Remove concitions on
checking for timeout. From Max Holtzberg (2013-10-17).
* net/net_sendfile.c: Correct paramter passed to netdev_txnotify()
from Max Holtzberg (2013-10-17).

View File

@ -535,7 +535,7 @@ ssize_t net_sendfile(int outfd, struct file *infile, off_t *offset,
/* Notify the device driver of the availaibilty of TX data */
netdev_txnotify(&conn->ripaddr);
netdev_txnotify(conn->ripaddr);
uip_lockedwait(&state.snd_sem);
}