Re: [AX.25] Fix potencial memory hole.

2006-03-19 Thread David S. Miller
From: Ralf Baechle DL5RB <[EMAIL PROTECTED]> Date: Sun, 19 Mar 2006 12:42:46 + > If the AX.25 dialect chosen by the sysadmin is set to DAMA master / 3 > (or DAMA slave / 2, if CONFIG_AX25_DAMA_SLAVE=n) ax25_kick() will fall > through the switch statement without calling ax25_send_iframe() or a

[AX.25] Fix potencial memory hole.

2006-03-19 Thread Ralf Baechle DL5RB
If the AX.25 dialect chosen by the sysadmin is set to DAMA master / 3 (or DAMA slave / 2, if CONFIG_AX25_DAMA_SLAVE=n) ax25_kick() will fall through the switch statement without calling ax25_send_iframe() or any other function that would eventually free skbn thus leaking the packet. Fix by restric