|
@@ -117,26 +117,14 @@ ah_esp_conn_schedule(int af, struct sk_buff *skb, struct ip_vs_protocol *pp,
|
|
|
return 0;
|
|
|
}
|
|
|
|
|
|
-static void ah_esp_init(struct ip_vs_protocol *pp)
|
|
|
-{
|
|
|
- /* nothing to do now */
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
-static void ah_esp_exit(struct ip_vs_protocol *pp)
|
|
|
-{
|
|
|
- /* nothing to do now */
|
|
|
-}
|
|
|
-
|
|
|
-
|
|
|
#ifdef CONFIG_IP_VS_PROTO_AH
|
|
|
struct ip_vs_protocol ip_vs_protocol_ah = {
|
|
|
.name = "AH",
|
|
|
.protocol = IPPROTO_AH,
|
|
|
.num_states = 1,
|
|
|
.dont_defrag = 1,
|
|
|
- .init = ah_esp_init,
|
|
|
- .exit = ah_esp_exit,
|
|
|
+ .init = NULL,
|
|
|
+ .exit = NULL,
|
|
|
.conn_schedule = ah_esp_conn_schedule,
|
|
|
.conn_in_get = ah_esp_conn_in_get,
|
|
|
.conn_out_get = ah_esp_conn_out_get,
|
|
@@ -159,8 +147,8 @@ struct ip_vs_protocol ip_vs_protocol_esp = {
|
|
|
.protocol = IPPROTO_ESP,
|
|
|
.num_states = 1,
|
|
|
.dont_defrag = 1,
|
|
|
- .init = ah_esp_init,
|
|
|
- .exit = ah_esp_exit,
|
|
|
+ .init = NULL,
|
|
|
+ .exit = NULL,
|
|
|
.conn_schedule = ah_esp_conn_schedule,
|
|
|
.conn_in_get = ah_esp_conn_in_get,
|
|
|
.conn_out_get = ah_esp_conn_out_get,
|