]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: In fragmentation code, handle error returned from register_pernet_subsys.
authorPavel Emelyanov <xemul@openvz.org>
Mon, 19 May 2008 20:52:28 +0000 (13:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 May 2008 20:52:28 +0000 (13:52 -0700)
commit3607632544b5e52c7d42dee0d126d88278f2924d
treed1bab773016b2bf6a2905e45b4e75ee855144318
parent06a4d31ad0838167df00cbf0edd96e84cc63076a
ipv6: In fragmentation code, handle error returned from register_pernet_subsys.

The error code is ignored now, but ipv6 is a module and one can
be loaded under memory pressure, so the error may occur (in theory).

Besides, I'm going to handle error returned from registering a
read-only part of the table, so ignoring this one, while handing
the other one would look strange.

(However, this possibility of error is rather small, so I'm not
 sure whether this is a candidate for current net tree).

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/reassembly.c