Searched hist:"98 a82febb6340466824c3a453738d4fbd05db81a" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/net/netrom/ |
H A D | nr_dev.c | diff 3a867b36c3234673e61f883ebc11ad18f80a176f Wed Oct 05 14:16:04 CDT 2005 Ralf Baechle <ralf@linux-mips.org> [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> diff 98a82febb6340466824c3a453738d4fbd05db81a Wed Aug 24 13:35:51 CDT 2005 Ralf Baechle <ralf@linux-mips.org> [AX25/NETROM]: Cleanup direct calls into IP stack
Get rid of the calls to ip_rcv and arp_rcv which were layering violations anyway. With those being replaced by netif_rx, less parts of AX.25 and relatives depend on INET support actually being enabled. This also will make PF_PACKET sockets work for IP and ARP packets received over AX.25 and for IP packets over NET/ROM.
Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
H A D | af_netrom.c | diff 98a82febb6340466824c3a453738d4fbd05db81a Wed Aug 24 13:35:51 CDT 2005 Ralf Baechle <ralf@linux-mips.org> [AX25/NETROM]: Cleanup direct calls into IP stack
Get rid of the calls to ip_rcv and arp_rcv which were layering violations anyway. With those being replaced by netif_rx, less parts of AX.25 and relatives depend on INET support actually being enabled. This also will make PF_PACKET sockets work for IP and ARP packets received over AX.25 and for IP packets over NET/ROM.
Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|
/openbmc/linux/net/ax25/ |
H A D | ax25_in.c | diff 3a867b36c3234673e61f883ebc11ad18f80a176f Wed Oct 05 14:16:04 CDT 2005 Ralf Baechle <ralf@linux-mips.org> [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> diff 98a82febb6340466824c3a453738d4fbd05db81a Wed Aug 24 13:35:51 CDT 2005 Ralf Baechle <ralf@linux-mips.org> [AX25/NETROM]: Cleanup direct calls into IP stack
Get rid of the calls to ip_rcv and arp_rcv which were layering violations anyway. With those being replaced by netif_rx, less parts of AX.25 and relatives depend on INET support actually being enabled. This also will make PF_PACKET sockets work for IP and ARP packets received over AX.25 and for IP packets over NET/ROM.
Signed-off-by: Ralf Baechle DL5RB <ralf@linux-mips.org> Signed-off-by: David S. Miller <davem@davemloft.net>
|