[IPV6]: make extended headers to return an error at initialization
authorDaniel Lezcano <dlezcano@fr.ibm.com>
Tue, 11 Dec 2007 10:23:54 +0000 (02:23 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 22:57:10 +0000 (14:57 -0800)
commit248b238dc960a42aa235057ba0a51a98ae2b0f0d
tree0c655bde3e6a9ad24491fe3ec4edaba1bf9053f2
parent0a3e78ac2c555441f5bc00588070058533bc8d6b
[IPV6]: make extended headers to return an error at initialization

This patch factorize the code for the differents init functions for rthdr,
nodata, destopt in a single function exthdrs_init.
This function returns an error so the af_inet6 module can check correctly
the initialization.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/transp_v6.h
net/ipv6/af_inet6.c
net/ipv6/exthdrs.c