]> git.baikalelectronics.ru Git - kernel.git/commit
Add missing skb->dev assignment in Frame Relay RX code
authorKrzysztof Halasa <khc@pm.waw.pl>
Sun, 29 Jun 2008 19:48:11 +0000 (21:48 +0200)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 4 Jul 2008 12:09:39 +0000 (08:09 -0400)
commita8977a2d3029f96a0499929d070f1338d57d395f
tree9f9dc8333666df30b4cadf624d5e617f56d63f4e
parent3b4c1c5e74c9f1569e9b0f220dc677b5e35f02f1
Add missing skb->dev assignment in Frame Relay RX code

Commit 0fd9b7039ddf65eb9fa81881fd415ecf5567d6b3 ([ETH]: Make
eth_type_trans set skb->dev like the other *_type_trans) removed
skb->dev assignment from hdlc_fr.c:fr_rx(). Unfortunately it was also
needed for cases other than eth_type_trans().

Adding it back.

It's quite serious and may be a security risk as it causes a wrong
input interface indication (the physical hdlcX instead of logical
pvcX). Probably -stable class fix.

Signed-off-by: Krzysztof Halasa <khc@pm.waw.pl>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/wan/hdlc_fr.c