]> git.baikalelectronics.ru Git - kernel.git/commit
net: qualcomm: rmnet: Skip processing loopback packets
authorSean Tranchetti <stranche@codeaurora.org>
Wed, 3 Oct 2018 00:52:01 +0000 (18:52 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Oct 2018 05:16:00 +0000 (22:16 -0700)
commitcd56dc354a7d2d5b8fe446675ea6042fefdfb8f5
treeb0c64e299e6466fffcb0d6e486f6f6ba6f81f63b
parenteccef7df5ac756a884cafdc64f6b9a66b2c566c8
net: qualcomm: rmnet: Skip processing loopback packets

RMNET RX handler was processing invalid packets that were
originally sent on the real device and were looped back via
dev_loopback_xmit(). This was detected using syzkaller.

Fixes: 90bb99b4fbce ("drivers: net: ethernet: qualcomm: rmnet: Initial implementation")
Signed-off-by: Sean Tranchetti <stranche@codeaurora.org>
Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.c