Fixed OPT RR/NSID malformed on reload and unsafe alteration.
Fixed a bug where NSID couldn't be switched off on reload, causing malformed packets and/or extra bytes. Since it's protected by RCU, it needs to be created on each server reload and the old one should be freed after the RCU is synchronized. Also removed rest of obsolete code and unified EDNS constants.
parent
04be826a
No related branches found
No related tags found
Showing
- src/knot/server/zones.c 20 additions, 2 deletionssrc/knot/server/zones.c
- src/libknot/edns.c 4 additions, 88 deletionssrc/libknot/edns.c
- src/libknot/edns.h 12 additions, 24 deletionssrc/libknot/edns.h
- src/libknot/nameserver/name-server.c 1 addition, 97 deletionssrc/libknot/nameserver/name-server.c
- src/libknot/nameserver/name-server.h 0 additions, 4 deletionssrc/libknot/nameserver/name-server.h
- src/libknot/packet/response.c 1 addition, 1 deletionsrc/libknot/packet/response.c
Loading
Please register or sign in to comment