Commit Graph

11508 Commits

Author SHA1 Message Date
Gregory Nutt
7355a9044a TUN driver bug fix. From Max Neklyudov. 2015-06-03 10:45:13 -06:00
Gregory Nutt
f4dde423c9 Update ChangeLog 2015-06-03 09:29:47 -06:00
Gregory Nutt
d8db596b3b POSIX message queues: Move mq_setattr() and mq_getattr() from nuttx/libc/mqueue to nuttx/sched/mqueue. Also add sysyscall support for mq_setattr() and mq_getattr(). This is necessary in protected and kernel builds because in those cases the message queue structure is protect and cannot be accessed directly from user mode code. Noted by Jouko Holopainen. 2015-06-03 09:24:17 -06:00
Gregory Nutt
3ee2902c3e SAMV71-XULT: Fix a warning with button support is disabled 2015-06-03 08:36:19 -06:00
Gregory Nutt
932ffd0291 Update ChangeLog 2015-06-03 08:13:31 -06:00
Gregory Nutt
8f7752d956 Networking: Modify how callback structures are stored to avoid another potential use of a stal pointer. 2015-06-03 08:11:57 -06:00
Gregory Nutt
7fee026a5d Update ChangeLog 2015-06-03 07:28:37 -06:00
Gregory Nutt
84f0303fc0 mq_timedreceive() move the location where the errno value is set; the TIMEDOUT errno setting was being overwritten by subsequent actions before returning. Noted by Freddie Chopin. 2015-06-03 07:24:50 -06:00
Gregory Nutt
f0da343f24 Refresh and maybe break some configurations 2015-06-02 19:01:05 -06:00
Gregory Nutt
edbb5d0840 networking: Correct a typo introduced with recent networking changes 2015-06-02 15:04:02 -06:00
Gregory Nutt
6d1ea9bb65 Fix a default value in the THTTPD Kconfig; updated a README file 2015-06-02 14:59:13 -06:00
Gregory Nutt
15b0f7e89a Update ChangeLog 2015-06-02 14:28:43 -06:00
Gregory Nutt
3e836a3156 Extend apps/examples/thttpd so that it provides a index.cgi file the binfs file system is selected. 2015-06-02 14:26:08 -06:00
Gregory Nutt
8cdce50e8c Extend the mkconfig tool so that it can dequote a quoated list of quoated strings. THTTPD uses such a configration setting to provide the list of index files. 2015-06-02 14:23:59 -06:00
Gregory Nutt
0de965100c Damn. THTTPD will not yet run with binfs because it wants an index.html file. THTTPD does support indexing directories if CONFIG_THTTPD_GENERATE_INDICES=y, but there are some compilation issues that need to be fixed when that option is selected. 2015-06-02 12:13:18 -06:00
Gregory Nutt
c704a5289c Comment out references to fstat(). It is not yet supported. 2015-06-02 11:43:44 -06:00
Gregory Nutt
e2f04ec796 Update ChangeLog 2015-06-02 11:02:17 -06:00
Gregory Nutt
d538025dca Olimex LPC1766STK. Add an example configuration showing how to build apps/netutils/thttpd using binfs 2015-06-02 11:00:18 -06:00
Gregory Nutt
54d16d0933 Fix some memory sizing errors in refreshed defconfig files 2015-06-02 08:44:57 -06:00
Gregory Nutt
1b3d003d9e Refresh some Olimex LPC1766STK networking configurations 2015-06-02 08:12:44 -06:00
Gregory Nutt
1c816c1d19 Condition default value for CONFIG_ARMV7M_TARGET2_PREL on UCLIBCXX_EXCEPTION 2015-06-01 15:12:33 -06:00
Gregory Nutt
2e78f2235b Update ChangeLog 2015-06-01 14:19:40 -06:00
Gregory Nutt
6068820bf3 Add support uClibc++ excpetions. This involves additional handling for relative relation types, additional support for unwinding, as well as additional changes. The culmination of a big effort fromo Leo Aloe3132 2015-06-01 14:16:18 -06:00
Gregory Nutt
482d82c20e LPC17xx: All configurations that had the LPC17xx ethernet driver enabled have CONFIG_NET_NOTINTS=y enabled and also the HP worked which is now needed in those configurations 2015-06-01 08:56:42 -06:00
Gregory Nutt
114b8c015c ChangeLog 2015-06-01 08:38:14 -06:00
Gregory Nutt
1196df493e LPC17 Ethernet: Fix several compilation related issues when CONFIG_NET_NOINTS=y 2015-06-01 08:35:40 -06:00
Gregory Nutt
4f05c80794 LPC17xx Ethernet: Improve CONFIG_NET_NOINTS implementation 2015-06-01 08:07:32 -06:00
Gregory Nutt
aaeee801b8 Fix a missing # in the previous commit 2015-05-31 13:26:13 -06:00
Gregory Nutt
64bf18cfbd Update ChangeLog 2015-05-31 13:09:21 -06:00
Gregory Nutt
29875f1a34 Add basic support for the STM32F205RG. From SourceForge Ticket 40 (anonymous). 2015-05-31 13:06:26 -06:00
Gregory Nutt
01873babea Update ChangeLog 2015-05-31 12:51:42 -06:00
Gregory Nutt
2a874183c5 tools/configure.c: Fix test for the extence of the apps/ dir. This is part of SourceForge Ticket #39 2015-05-31 12:48:34 -06:00
Gregory Nutt
9ee6b2db70 tools/configure.c: Fix backward interpretation of options, -l was selecting Windows and -w was selecting Linux. This is part of SourceForege Ticket #39 2015-05-31 12:42:44 -06:00
Gregory Nutt
e22deff1ab TCP connect. Move the location where the socket is marked as connected in order to avoid a potential race condition 2015-05-31 12:24:24 -06:00
Gregory Nutt
678dd26205 Update ChangeLog 2015-05-31 11:40:47 -06:00
Gregory Nutt
b493dde4cf TCP networking: In the TCP connection operation, it was trying to setup the network monitor BEFORE the socket was successfully connected. This, of course, has ALWAYS failed because the socket is not yet connected and the TCP state is not yet correct for a connected socket. However, because of other changes net_startmonitor(0 no returns a failure condition that causes worse problems when trying to connect. The fix is to move the logic that starts the network monitor to AFTER the socket has been successfully connected. 2015-05-31 11:35:28 -06:00
Gregory Nutt
a47a0d237c Costmetic changes to networking logic 2015-05-31 10:29:53 -06:00
Gregory Nutt
d5282359c7 Update ChangeLog 2015-05-31 08:41:46 -06:00
Gregory Nutt
33085cb309 Networking: The network device list was protected by a re-entrant semaphore. With the recent change to support network device callback, the network stack needs to access the network device list too. Some drivers, however, run the network stack from the interrupt level -- this is bad but a fact in the current state. Of course,those drivers are unable to take the semaphore and will assert.
The solution here is to eliminate the device devices semaphore altogether.  This eliminates netdev_semtake() and netdev_semgive() and replaces them with net_lock() and net_unlock() which have larger scope as needed for this purpose.
2015-05-31 08:34:03 -06:00
Gregory Nutt
6687e156e6 Revamp last change. IFF_UP only required when allocating callback, not freeing. 2015-05-30 21:13:58 -06:00
Gregory Nutt
28b46c7bfa To be valid, a network device must not only exist, but be in the UP state 2015-05-30 12:54:18 -06:00
Gregory Nutt
7bbaaf41ca Merge remote-tracking branch 'origin/master' into multinic 2015-05-30 11:51:04 -06:00
Gregory Nutt
cc340aaa92 TCP networking: Since the network monitor now allocates a callback structure, it is critical to make sure that the networking monitor is stopped when the socket is closed or any other loss of connection. What was innocuous before would now be a memory leak 2015-05-30 11:49:55 -06:00
Gregory Nutt
8b029fbbee TCP networking: Hook the network monitor into the device event notification logic 2015-05-30 11:29:47 -06:00
Gregory Nutt
cf3003786d Update ChangeLog 2015-05-30 10:02:11 -06:00
Gregory Nutt
fce87336a4 Add an option to disable support for long long formats in lib_vsprintf. From Alan Carvalho de Assis 2015-05-30 10:00:54 -06:00
Gregory Nutt
5142a1a1db Update ChangeLog 2015-05-30 09:31:31 -06:00
Gregory Nutt
933b95ac80 Forgot to add a file in the last commit 2015-05-30 09:17:46 -06:00
Gregory Nutt
04a661a97c TCP networking: Add support for network driver events 2015-05-30 09:12:27 -06:00
Gregory Nutt
ab50e9d04d Networking: Get rid of g_ipv4_allzeroaddr and g_ipv4_alloneaddr. It is more efficient and more intuitive to use INADDR_ANY and INADDR_BROADCAST 2015-05-29 15:16:11 -06:00