summaryrefslogtreecommitdiff
path: root/llmnr.c
diff options
context:
space:
mode:
Diffstat (limited to 'llmnr.c')
-rw-r--r--llmnr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/llmnr.c b/llmnr.c
index dc4b72a..2afdca6 100644
--- a/llmnr.c
+++ b/llmnr.c
@@ -204,8 +204,8 @@ static void llmnr_packet_process(unsigned int ifindex, const uint8_t *pktbuf, si
flags = ntohs(hdr->flags);
qdcount = ntohs(hdr->qdcount);
- /* Query invalid as per RFC 4795, section 2.1.1? */
- if (((flags & (LLMNR_F_QR | LLMNR_F_OPCODE)) != 0) ||
+ /* Query invalid as per RFC 4795, section 2.1.1 */
+ if (((flags & (LLMNR_F_QR | LLMNR_F_OPCODE | LLMNR_F_TC)) != 0) ||
qdcount != 1 || hdr->ancount != 0 || hdr->nscount != 0)
return;
disables for vads7846 CPU: 0 PID: 29269 Comm: rmmod Tainted: G D W 4.7.0+ #3 Hardware name: HTC Magician ... show_stack+0x10/0x14 __warn+0xd8/0x100 warn_slowpath_fmt+0x38/0x48 _regulator_disable+0xf8/0x130 regulator_disable+0x34/0x60 ads7846_remove+0x58/0xd4 [ads7846] spi_drv_remove+0x1c/0x34 __device_release_driver+0x84/0x114 driver_detach+0x8c/0x90 bus_remove_driver+0x5c/0xc8 SyS_delete_module+0x1a0/0x238 ret_fast_syscall+0x0/0x38 Signed-off-by: Petr Cvek <petr.cvek@tul.cz> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat