Re: use-after-free in sixpack_close

2015-12-17 Thread Ralf Baechle DL5RB
On Thu, Dec 17, 2015 at 04:05:32PM -0500, David Miller wrote: > This should fix it, the only thing I'm unsure of is if we should perhaps > also use del_timer_sync() here. Anyone? I think so. Ralf -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to

Re: [PATCH] net: rose: Use mod_timer

2015-06-06 Thread Ralf Baechle DL5RB
Hi Vaishali, On Sat, Jun 06, 2015 at 09:52:34AM +0530, Vaishali Thakkar wrote: > Use mod_timer instead of del_timer followed by add_timer to update > the expire field of the active timer. > > The semantic patch that performs this transformation is as follows: > > @change@ > expression e1, e2, e

[PATCH 1/3] Eleminate HZ from AX.25 kernel interfaces

2006-04-29 Thread Ralf Baechle DL5RB
Convert all AX.25 sysctl time values from jiffies to ms as units. Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> -- include/net/ax25.h | 10 +++--- net/ax25/af_ax25.c | 73 + net/ax25/ax25_ds_timer.c |3 + net/ax25/sysctl_ne

[HAMRADIO] Remove remaining SET_MODULE_OWNER calls from hamradio drivers.

2006-04-29 Thread Ralf Baechle DL5RB
Signed-off-by: Ralf Baechle DL5RB <[EMAIL PROTECTED]> -- drivers/net/hamradio/dmascc.c |1 - drivers/net/hamradio/scc.c|1 - drivers/net/hamradio/yam.c|1 - 3 files changed, 3 deletions(-) Index: linux-net.git/drivers/net/hamradio/dm

[AX.25] Spelling fix

2006-04-29 Thread Ralf Baechle DL5RB
Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> --- net/ax25/ax25_route.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-net.git/net/ax25/ax25_route.c === --- linux-net.git.orig/net/ax25/ax25_route.c2006-0

[AX25, ROSE] Remove useless SET_MODULE_OWNER calls.

2006-04-29 Thread Ralf Baechle DL5RB
Signed-off-by: Ralf Baechle <[EMAIL PROTECTED]> -- net/netrom/nr_dev.c |1 - net/rose/rose_dev.c |1 - 2 files changed, 2 deletions(-) Index: linux-net.git/net/netrom/nr_dev.c === --- linux-net.git.orig/net/netrom/nr_dev.c

[AX.25] Fix potencial memory hole.

2006-03-19 Thread Ralf Baechle DL5RB
restricting the sysctl inferface to allow only actually supported AX.25 dialects. The system administration mistake needed for this to happen is rather unlikely, so this is an uncritical hole. Coverity #651. Signed-off-by: Ralf Baechle DL5RB <[EMAIL PROTECTED]> diff --git a/include/net/ax

[AX.25] Make asc2ax thread-proof

2005-09-07 Thread Ralf Baechle DL5RB
much more to fix in ROSE ... Signed-off-by: Ralf Baechle DL5RB <[EMAIL PROTECTED]> include/net/ax25.h |2 +- net/ax25/ax25_addr.c | 27 --- net/rose/rose_subr.c |4 ++-- 3 files changed, 15 insertions(+), 18 deletions(-) Index: linux-cvs/in

[PATCH] Use time_before in hamradio drivers

2005-07-15 Thread Ralf Baechle DL5RB
igned-off-by: Ralf Baechle DL5RB <[EMAIL PROTECTED]> baycom_epp.c |3 ++- baycom_par.c |3 ++- baycom_ser_fdx.c |3 ++- baycom_ser_hdx.c |3 ++- mkiss.c |3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) Index: linux-cvs/driv