project/ustp.git
2 years agolibnetlink: turn rtnetlink error answers into debug msgs
Felix Fietkau [Fri, 27 Aug 2021 10:36:44 +0000 (12:36 +0200)]
libnetlink: turn rtnetlink error answers into debug msgs

They should not be logged by default

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2 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>
2 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>
2 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>
2 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>