]> err.no Git - linux-2.6/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)
commit0002c630c4ee7a3c6b1d87e34bfd6ce9694b49be
treed1bab773016b2bf6a2905e45b4e75ee855144318
parent0a64b4b811025ce0386ad84d81504e4ff7985856
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