Changeset 12419
- Timestamp:
- 06/30/09 17:16:32 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
src/linux/pb42/linux-2.6.22/net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c
r9438 r12419 205 205 .release = seq_release_private, 206 206 }; 207 208 207 209 208 210 /* expects */ … … 375 377 }; 376 378 379 static int conntrack_flush(char *buffer, char **start, off_t offset, int length) 380 { 381 nf_conntrack_flush(); 382 return 0; 383 } 384 377 385 int __init nf_conntrack_ipv4_compat_init(void) 378 386 { … … 380 388 381 389 proc = proc_net_fops_create("ip_conntrack", 0440, &ct_file_ops); 390 if (!proc) 391 goto err1; 392 393 proc = proc_net_create("ip_conntrack_flush", 0440, conntrack_flush); 382 394 if (!proc) 383 395 goto err1; … … 400 412 proc_net_remove("ip_conntrack_expect"); 401 413 err2: 414 proc_net_remove("ip_conntrack_flush"); 402 415 proc_net_remove("ip_conntrack"); 403 416 err1:
