]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitbd4cdc1f24e8c3256ac6cbd9ead426a9d8f5cfc1
tree0c655bde3e6a9ad24491fe3ec4edaba1bf9053f2
parent51633c092cc96435b77cfd60e4b43d5969417e2a
[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