Pavel Emelyanov e521db9d79 [INET]: Consolidate xxx_frag_alloc()
Just perform the kzalloc() allocation and setup common
fields in the inet_frag_queue(). Then return the result
to the caller to initialize the rest.

The inet_frag_alloc() may return NULL, so check the 
return value before doing the container_of(). This looks 
ugly, but the xxx_frag_alloc() will be removed soon.

The xxx_expire() timer callbacks are patches, 
because the argument is now the inet_frag_queue, not 
the protocol specific queue.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-17 19:45:23 -07:00
..
2007-10-17 14:35:15 -05:00
2007-10-10 16:54:48 -07:00
2007-10-17 19:45:23 -07:00
2007-10-17 19:45:23 -07:00
2007-10-17 08:42:49 -07:00
2007-10-15 17:00:19 +02:00
2007-07-16 09:05:45 -07:00
2005-04-16 15:20:36 -07:00