ethercat/master
Graeme Foot 2c1597231d Applied base-0028-ec_master_exec_slave_fsms-external-datagram-fix
Slaves can fail to correctly read their SII information, leading to
zero or corrupted SII information.  This leads to slaves that remain
in PREOP or SAFEOP.

This is caused by the cached external (slave) datagrams being cycled
through too quickly due to being marked as consumed when they are not.
Datagrams can then be lost or incorrectly shared between multiple slaves
as the ring returns a datagram that is still in use by a read SII call.

This may also occur if multiple services are contending for a slaves
mailbox.

I have not added checks into ec_master_get_external_datagram() to
check that a returned datagram is not currently in use.
2023-08-29 14:38:54 +02:00
..
Kbuild.in Applied base-0024-Sdo-directory-now-only-fetched-on-request 2023-08-29 14:38:54 +02:00
Makefile.am Applied base-0024-Sdo-directory-now-only-fetched-on-request 2023-08-29 14:38:54 +02:00
cdev.c Merge branch 'fix_vm_set_flag' into 'stable-1.5' 2023-06-01 06:11:19 +00:00
cdev.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
coe_emerg_ring.c Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
coe_emerg_ring.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
datagram.c Applied 0020-eoe-ip.patch 2022-06-23 12:39:52 +02:00
datagram.h Applied 0019-Support-for-multiple-mailbox-protocols.patch 2022-06-23 11:54:10 +02:00
datagram_pair.c Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
datagram_pair.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
debug.c Merge branch 'master' of ../git 2022-06-23 11:55:13 +02:00
debug.h Improved syslog macros. 2010-05-03 18:07:57 +02:00
device.c Applied 0016-If-enable-rtmutex-use-rtmutexes-instead-of-semaphore.patch 2022-06-23 11:21:51 +02:00
device.h 16-ethercat-1.5-frame-corruption.patch 2015-04-14 16:25:44 -04:00
dict_request.c Applied base-0024-Sdo-directory-now-only-fetched-on-request 2023-08-29 14:38:54 +02:00
dict_request.h Applied base-0024-Sdo-directory-now-only-fetched-on-request 2023-08-29 14:38:54 +02:00
domain.c Improve synchronization of master->domains list 2022-09-01 15:38:01 +02:00
domain.h Add lock protection of domain->datagram_pairs 2022-09-01 15:37:58 +02:00
doxygen.c Changed email and postal address. 2023-01-09 10:01:24 +01:00
eoe_request.c Implemented EoE Set IP parameter request via command-line tool. 2014-11-12 14:42:17 +01:00
eoe_request.h Implemented EoE Set IP parameter request via command-line tool. 2014-11-12 14:42:17 +01:00
ethernet.c Fix for linux 5.18.0 2022-07-18 11:21:29 +02:00
ethernet.h Applied 0020-eoe-ip.patch 2022-06-23 12:39:52 +02:00
flag.c Avoided warning about unreasonable use of strncpy(). 2021-08-25 12:01:03 +02:00
flag.h Added feature flags to API. 2021-08-24 17:47:15 +02:00
fmmu_config.c Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
fmmu_config.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
foe.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
foe_request.c Add support for FoE with password. 2022-04-19 11:54:16 +02:00
foe_request.h Add support for FoE with password. 2022-04-19 11:54:16 +02:00
fsm_change.c Fixed malformed keywords. 2012-09-06 14:07:13 +02:00
fsm_change.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
fsm_coe.c Applied base-0027-Prevent abandoning the mailbox state machines early 2023-08-29 14:38:54 +02:00
fsm_coe.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
fsm_eoe.c Applied base-0027-Prevent abandoning the mailbox state machines early 2023-08-29 14:38:54 +02:00
fsm_eoe.h Implemented EoE Set IP parameter request via command-line tool. 2014-11-12 14:42:17 +01:00
fsm_foe.c Applied base-0027-Prevent abandoning the mailbox state machines early 2023-08-29 14:38:54 +02:00
fsm_foe.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
fsm_master.c Applied base-0024-Sdo-directory-now-only-fetched-on-request 2023-08-29 14:38:54 +02:00
fsm_master.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
fsm_pdo.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-08-31 13:29:16 +02:00
fsm_pdo.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
fsm_pdo_entry.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-08-31 13:29:16 +02:00
fsm_pdo_entry.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
fsm_sii.c Minor: Improved SII debugging. 2010-09-22 12:26:32 +02:00
fsm_sii.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
fsm_slave.c Applied base-0024-Sdo-directory-now-only-fetched-on-request 2023-08-29 14:38:54 +02:00
fsm_slave.h Applied base-0024-Sdo-directory-now-only-fetched-on-request 2023-08-29 14:38:54 +02:00
fsm_slave_config.c Applied 0019-Support-for-multiple-mailbox-protocols.patch 2022-06-23 11:54:10 +02:00
fsm_slave_config.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
fsm_slave_scan.c Applied base-0025-Ignore-mailbox-settings-if-corrupted-sii-file 2023-08-29 14:38:54 +02:00
fsm_slave_scan.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
fsm_soe.c Applied base-0027-Prevent abandoning the mailbox state machines early 2023-08-29 14:38:54 +02:00
fsm_soe.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
globals.h Applied 0006-avoid-ssize_t.patch 2022-06-23 10:26:43 +02:00
ioctl.c Applied base-0024-Sdo-directory-now-only-fetched-on-request 2023-08-29 14:38:54 +02:00
ioctl.h Applied base-0024-Sdo-directory-now-only-fetched-on-request 2023-08-29 14:38:54 +02:00
locks.h Applied 0016-If-enable-rtmutex-use-rtmutexes-instead-of-semaphore.patch 2022-06-23 11:21:51 +02:00
mailbox.c Merge branch 'master' of ../git 2022-06-23 11:55:13 +02:00
mailbox.h Applied 0019-Support-for-multiple-mailbox-protocols.patch 2022-06-23 11:54:10 +02:00
master.c Applied base-0028-ec_master_exec_slave_fsms-external-datagram-fix 2023-08-29 14:38:54 +02:00
master.h Applied base-0024-Sdo-directory-now-only-fetched-on-request 2023-08-29 14:38:54 +02:00
module.c Fix class_create on kernel 6.4 2023-07-05 07:31:52 +02:00
pdo.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-08-31 13:29:16 +02:00
pdo.h Improved output when PDO assignment/mapping fails. 2010-02-23 15:49:12 +01:00
pdo_entry.c Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
pdo_entry.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
pdo_list.c Strictly using KERN_CONT for continued printk() calls to avoid newlines. 2021-08-31 13:29:16 +02:00
pdo_list.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
reg_request.c Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
reg_request.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
rtdm-ioctl.c Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
rtdm.c Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
rtdm.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
sdo.c Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
sdo.h Improved and added license headers. 2009-02-24 12:51:39 +00:00
sdo_entry.c Read SDO entry access rights. 2009-04-08 08:13:33 +00:00
sdo_entry.h Read SDO entry access rights. 2009-04-08 08:13:33 +00:00
sdo_request.c Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
sdo_request.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
slave.c Applied base-0024-Sdo-directory-now-only-fetched-on-request 2023-08-29 14:38:54 +02:00
slave.h Applied base-0024-Sdo-directory-now-only-fetched-on-request 2023-08-29 14:38:54 +02:00
slave_config.c fix direct uses of up()/down() 2022-08-31 15:21:23 +02:00
slave_config.h Find flag method with const char * parameter; added method to header. 2021-08-24 17:48:09 +02:00
soe_errors.c Included list of common SoE error messages. 2010-03-19 12:01:32 +01:00
soe_request.c Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
soe_request.h Added drive_no parameter to SoE layer. 2010-07-20 10:52:31 +02:00
sync.c Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00
sync.h Replaced all mangled hg keywords. 2012-09-06 14:17:21 +02:00
sync_config.c Added watchdog configuration via application interface (thanks to J. Mohre). 2009-07-27 10:48:52 +00:00
sync_config.h Added watchdog configuration via application interface (thanks to J. Mohre). 2009-07-27 10:48:52 +00:00
voe_handler.c Applied 0019-Support-for-multiple-mailbox-protocols.patch 2022-06-23 11:54:10 +02:00
voe_handler.h Reverted default branch to stable-1.5. 2014-11-03 15:20:05 +01:00