Changeset 12416
- Timestamp:
- 06/30/09 17:15:01 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
src/linux/adm5120/linux-2.6.23/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
r10172 r12416 199 199 .release = seq_release_private, 200 200 }; 201 202 201 203 202 204 /* expects */ … … 405 407 }; 406 408 409 static int conntrack_flush(char *buffer, char **start, off_t offset, int length) 410 { 411 nf_conntrack_flush(); 412 return 0; 413 } 414 407 415 int __init nf_conntrack_ipv4_compat_init(void) 408 416 { … … 410 418 411 419 proc = proc_net_fops_create("ip_conntrack", 0440, &ct_file_ops); 420 if (!proc) 421 goto err1; 422 423 proc = proc_net_create("ip_conntrack_flush", 0440, conntrack_flush); 412 424 if (!proc) 413 425 goto err1; … … 430 442 proc_net_remove("ip_conntrack_expect"); 431 443 err2: 444 proc_net_remove("ip_conntrack_flush"); 432 445 proc_net_remove("ip_conntrack"); 433 446 err1:
