Changeset 17105
- Timestamp:
- 05/23/11 12:51:49 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/linux/ar531x/linux-2.6.23/net/ipv4/netfilter/ip_tables.c
r12400 r17105 1017 1017 struct ipt_entry_match *m; 1018 1018 struct ipt_entry_target *t; 1019 u8 flags; 1019 1020 1020 1021 e = (struct ipt_entry *)(loc_cpu_entry + off); … … 1023 1024 &counters[num], 1024 1025 sizeof(counters[num])) != 0) { 1026 ret = -EFAULT; 1027 goto free_counters; 1028 } 1029 1030 flags = e->ip.flags & ~IPT_F_NO_DEF_MATCH; 1031 if (copy_to_user(userptr + off 1032 + offsetof(struct ipt_entry, ip.flags), 1033 &flags, sizeof(flags)) !=0) { 1025 1034 ret = -EFAULT; 1026 1035 goto free_counters;
Note: See TracChangeset
for help on using the changeset viewer.
