]> err.no Git - linux-2.6/commit
[AX.25]: Fix packet socket crash
authorRalf Baechle <ralf@linux-mips.org>
Wed, 5 Oct 2005 19:16:04 +0000 (12:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Oct 2005 19:16:04 +0000 (12:16 -0700)
commit3a867b36c3234673e61f883ebc11ad18f80a176f
tree1964810d9545edb884687934994561316d042e08
parent77d8d7a6848c81084f413e1ec4982123a56e2ccb
[AX.25]: Fix packet socket crash

Since changeset 98a82febb6340466824c3a453738d4fbd05db81a AX.25 is passing
received IP and ARP packets to the stack through netif_rx() but we don't
set the skb->mac.raw to right value which may result in a crash with
applications that use a packet socket.

Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ax25/ax25_in.c
net/netrom/nr_dev.c