project/ustp.git
3 years agobridge: check port bpdu filter status and apply it to the config
Felix Fietkau [Fri, 27 Aug 2021 10:19:29 +0000 (12:19 +0200)]
bridge: check port bpdu filter status and apply it to the config

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agolibnetlink: fix netlink buffer space handling
Felix Fietkau [Wed, 25 Aug 2021 11:29:45 +0000 (13:29 +0200)]
libnetlink: fix netlink buffer space handling

Significantly increaese buffer size in order to avoid missing events
Do not stop polling socket after running out of buffer space

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agobrmon: continue polling the socket after an error occured
Felix Fietkau [Wed, 25 Aug 2021 11:29:14 +0000 (13:29 +0200)]
brmon: continue polling the socket after an error occured

Fixes a corner case with edge-trigger epoll

Signed-off-by: Felix Fietkau <nbd@nbd.name>
3 years agoInitial import
Felix Fietkau [Thu, 19 Aug 2021 06:59:56 +0000 (08:59 +0200)]
Initial import

Signed-off-by: Felix Fietkau <nbd@nbd.name>