Commit Graph

10 Commits

Author SHA1 Message Date
tytung
330c350fdb net: New iface_stat module to monitor persistent network stats.
Adding a new module that tracks the number of bytes/packets transfered by a network interface, even after the interface has been removed.
This is relevant to track the total data usage in mobile devices whose interfaces are added and removed quite frequently (WiFi, Bluetooth, 3G,..).

Monitoring is done only for devices that are configured with a valid IP address (check to exclude virtual/loopback/tunnel interfaces).

Change-Id: I8ac642af1990433ebd0784e8dbd72bf0714b5bf6
Signed-off-by: Ashish Sharma <ashishsharma@google.com>

Included a little modification for the out-of-date HD2 .32 kernel.
2011-11-15 23:00:32 +08:00
tytung
64b3392b72 bluetooth: updated bluetooth stack 2011-09-29 23:42:22 +08:00
tytung
92f2f11dd5 Revert "bluetooth: updated bluetooth stack"
This reverts commit eb94bc60a6.
2011-09-29 00:18:46 +08:00
tytung
eb94bc60a6 bluetooth: updated bluetooth stack 2011-03-26 13:07:29 +08:00
tytung
a22bca12d1 Revert "netfilter: nf_log: avoid oops in (un)bind with invalid nfproto values"
This reverts commit 895493dad6.
2011-03-26 13:01:49 +08:00
Jan Engelhardt
895493dad6 netfilter: nf_log: avoid oops in (un)bind with invalid nfproto values
commit 9ef0298a8e5730d9a46d640014c727f3b4152870 upstream.

Like many other places, we have to check that the array index is
within allowed limits, or otherwise, a kernel oops and other nastiness
can ensue when we access memory beyond the end of the array.

[ 5954.115381] BUG: unable to handle kernel paging request at 0000004000000000
[ 5954.120014] IP:  __find_logger+0x6f/0xa0
[ 5954.123979]  nf_log_bind_pf+0x2b/0x70
[ 5954.123979]  nfulnl_recv_config+0xc0/0x4a0 [nfnetlink_log]
[ 5954.123979]  nfnetlink_rcv_msg+0x12c/0x1b0 [nfnetlink]
...

The problem goes back to v2.6.30-rc1~1372~1342~31 where nf_log_bind
was decoupled from nf_log_register.

Reported-by: Miguel Di Ciurcio Filho <miguel.filho@gmail.com>,
  via irc.freenode.net/#netfilter
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-23 01:43:17 +08:00
tytung
765f3a9d95 wifi: updated WiFi driver to AOSP version to support WiFi with EAP authentication on Gingerbread.
Need Gingerbread wpa_supplicant.
2011-02-23 19:15:59 +08:00
Danijel Posilovic
0e29cb4fa1 fixed netfilter errors and missing dependencies 2011-02-16 18:43:25 +08:00
Jon Benson
42948d8a53 Fixed various compiler warnings by updating from ACE kernel source. 2010-10-30 23:29:38 +11:00
Markinus
e34adb00cb Add EVOs source as default 2010-08-27 11:19:57 +02:00