Re: [PATCH] tun: orphan an skb on tx

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Tuesday, April 13, 2010 - 11:31 am

Le mardi 13 avril 2010 à 20:39 +0300, Michael S. Tsirkin a écrit :


We do not get unkillable processes, at least with sockets I was thinking
about (TCP/UDP ones).

Maybe tun sockets can behave the same ?

Herbert Acked your patch, so I guess its OK, but I think it can be
dangerous.

Anyway my feeling is that we try to add various mechanisms to keep a
hostile user flooding another one.

For example, UDP got memory accounting quite recently, and we added
socket backlog limits very recently. It was considered not needed few
years ago.



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] tun: orphan an skb on tx, Michael S. Tsirkin, (Tue Apr 13, 7:59 am)
Re: [PATCH] tun: orphan an skb on tx, Herbert Xu, (Tue Apr 13, 8:12 am)
Re: [PATCH] tun: orphan an skb on tx, Jan Kiszka, (Tue Apr 13, 8:36 am)
Re: [PATCH] tun: orphan an skb on tx, Eric Dumazet, (Tue Apr 13, 9:40 am)
Re: [PATCH] tun: orphan an skb on tx, Jan Kiszka, (Tue Apr 13, 9:52 am)
Re: [PATCH] tun: orphan an skb on tx, Michael S. Tsirkin, (Tue Apr 13, 10:39 am)
Re: [PATCH] tun: orphan an skb on tx, Eric Dumazet, (Tue Apr 13, 11:31 am)
Re: [PATCH] tun: orphan an skb on tx, Michael S. Tsirkin, (Tue Apr 13, 1:25 pm)
Re: [PATCH] tun: orphan an skb on tx, Eric Dumazet, (Tue Apr 13, 1:38 pm)
Re: [PATCH] tun: orphan an skb on tx, Michael S. Tsirkin, (Tue Apr 13, 1:43 pm)
Re: [PATCH] tun: orphan an skb on tx, Herbert Xu, (Tue Apr 13, 5:58 pm)
Re: [PATCH] tun: orphan an skb on tx, David Miller, (Wed Apr 14, 4:55 am)
Re: [PATCH] tun: orphan an skb on tx, Michael S. Tsirkin, (Wed Apr 21, 4:35 am)
Re: [PATCH] tun: orphan an skb on tx, Michael S. Tsirkin, (Wed Apr 21, 4:45 am)
Re: [PATCH] tun: orphan an skb on tx, Jan Kiszka, (Wed Apr 21, 4:46 am)