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)
commita07f388e2cde2be74b263f85df6f672fea0305a1
treeb0c64e299e6466fffcb0d6e486f6f6ba6f81f63b
parent45ec318578c0c22a11f5b9927d064418e1ab1905
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: ceed73a2cf4a ("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