linux/net
JP Abgrall 64753a4df6 netfilter: qtaguid: fix proc/.../stats uid filtered output
"cat /proc/net/xt_qtaguid/stats"
for a non-priviledged UID would output multiple twice its own stats.
The fix tweaks the way lines are counted.

Non-root:
  idx iface acct_tag_hex uid_tag_int cnt_set ...
  2 wlan0 0x0 10022 0 ...
  3 wlan0 0x0 10022 1 ...
  4 wlan0 0x3010000000000000 10022 0 ...
  5 wlan0 0x3010000000000000 10022 1 ...

Root:
  idx iface acct_tag_hex uid_tag_int cnt_set
  2 wlan0 0x0 0 0 ...
  3 wlan0 0x0 0 1 ...
  4 wlan0 0x0 1000 0 ...
  ...
  12 wlan0 0x0 10022 0 ...
  13 wlan0 0x0 10022 1 ...
  ...
  18 wlan0 0x3010000000000000 10022 0 ...
  19 wlan0 0x3010000000000000 10022 1 ...

Change-Id: I3cae1f4fee616bc897831350374656b0c718c45b
Signed-off-by: JP Abgrall <jpa@google.com>
2011-09-02 16:50:56 -07:00
..
9p
802
8021q net: remove NETIF_F_ALL_TX_OFFLOADS 2011-07-14 15:18:49 -07:00
appletalk
atm
ax25
batman-adv
bluetooth Bluetooth: Fix l2cap conn failures for ssp devices 2011-08-29 15:24:13 -07:00
bridge bridge: send proper message_age in config BPDU 2011-08-04 21:58:31 -07:00
caif caif: Bugfix - XOFF removed channel from caif-mux 2011-06-16 23:59:09 -04:00
can
ceph ceph: fix file mode calculation 2011-07-19 11:25:04 -07:00
core ethtool: Allow zero-length register dumps again 2011-08-04 21:58:34 -07:00
dcb
dccp
decnet
dns_resolver
dsa
econet
ethernet
ieee802154
ipv4 Merge commit 'v3.0-rc7' into android-3.0 2011-07-12 20:10:37 -07:00
ipv6 ipv6: updates to privacy addresses per RFC 4941 2011-08-04 14:32:59 -07:00
ipx
irda
iucv
key
l2tp
lapb
llc
mac80211 mac80211: Restart STA timers only on associated state 2011-08-04 21:58:35 -07:00
netfilter netfilter: qtaguid: fix proc/.../stats uid filtered output 2011-09-02 16:50:56 -07:00
netlabel
netlink
netrom
packet
phonet
rds
rfkill
rose
rxrpc
sched
sctp net: sctp: fix checksum marking for outgoing packets 2011-07-14 15:16:31 -07:00
sunrpc svcrpc: fix list-corrupting race on nfsd shutdown 2011-08-04 21:58:40 -07:00
tipc
unix
wanrouter
wimax
wireless cfg80211: really ignore the regulatory request 2011-08-04 21:58:41 -07:00
x25
xfrm XFRM: Fix memory leak in xfrm_state_update 2011-07-08 08:58:42 -07:00
activity_stats.c
compat.c
Kconfig net: Fix CONFIG_RPS option to be turned off 2011-06-14 09:09:35 -07:00
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE