summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPavel Emelyanov2007-10-18 04:45:23 +0200
committerDavid S. Miller2007-10-18 04:45:23 +0200
commite521db9d790aaa60ae8920e21cb7faedc280fc36 (patch)
treec58a138e9729eb61edaf697b9e259001fb92feb2 /Makefile
parent[INET]: Consolidate xxx_frag_intern (diff)
downloadkernel-qcow2-linux-e521db9d790aaa60ae8920e21cb7faedc280fc36.tar.gz
kernel-qcow2-linux-e521db9d790aaa60ae8920e21cb7faedc280fc36.tar.xz
kernel-qcow2-linux-e521db9d790aaa60ae8920e21cb7faedc280fc36.zip
[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>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions