GitHub PushEvent at 2014-12-16 22:14:30
Repository: android_kernel_htc_evita
Actor: JoseGalRe
Payload: {"shas":[["cfc667e1eac22c3ee27aceaebb18e68102a2c65b","86995a091f8a1385082bd10715048b52ee386a6a@google.com","net: ipv6: ping: Use socket mark in routing lookup\n\n[net-next commit bf439b3154ce49d81a79b14f9fab18af99018ae2]\n\nChange-Id: I8356e9132088c75d4510021c6e4c2641d772087a\nSigned-off-by: Lorenzo Colitti <lorenzo@google.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nGit-commit: a5d5c168c37e0ab30ba07b2c79c7cba9615f4e87\nGit-repo: https://android.googlesource.com/kernel/common.git\nSigned-off-by: Ian Maund <imaund@codeaurora.org>\nSigned-off-by: Samir Mehta <samirn@codeaurora.org>","Lorenzo Colitti",true],["653be181eef3589b47119cd68c985975119fa61f","86995a091f8a1385082bd10715048b52ee386a6a@google.com","net: ipv6: autoconf routes into per-device tables\n\nCurrently, IPv6 router discovery always puts routes into\nRT6_TABLE_MAIN. This causes problems for connection managers\nthat want to support multiple simultaneous network connections\nand want control over which one is used by default (e.g., wifi\nand wired).\n\nTo work around this connection managers typically take the routes\nthey prefer and copy them to static routes with low metrics in\nthe main table. This puts the burden on the connection manager\nto watch netlink to see if the routes have changed, delete the\nroutes when their lifetime expires, etc.\n\nInstead, this patch adds a per-interface sysctl to have the\nkernel put autoconf routes into different tables. This allows\neach interface to have its own autoconf table, and choosing the\ndefault interface (or using different interfaces at the same\ntime for different types of traffic) can be done using\nappropriate ip rules.\n\nThe sysctl behaves as follows:\n\n- = 0: default. Put routes into RT6_TABLE_MAIN as before.\n- > 0: manual. Put routes into the specified table.\n- < 0: automatic. Add the absolute value of the sysctl to the\n       device's ifindex, and use that table.\n\nThe automatic mode is most useful in conjunction with\nnet.ipv6.conf.default.accept_ra_rt_table. A connection manager\nor distribution could set it to, say, -100 on boot, and\nthereafter just use IP rules.\n\nChange-Id: I093d39fb06ec413905dc0d0d5792c1bc5d5c73a9\nSigned-off-by: Lorenzo Colitti <lorenzo@google.com>\nGit-commit: 5fe5c512af518d0abbbc0d2fafa8e355f518c2a9\nGit-repo: https://android.googlesource.com/kernel/common.git\n[imaund@codeaurora.org: Resolve trivial merge conflicts]\nSigned-off-by: Ian Maund <imaund@codeaurora.org>\n[samirn@codeaurora.org: Resolve trivial merge conflicts]\nSigned-off-by: Samir Mehta <samirn@codeaurora.org>","Lorenzo Colitti",true],["2887dec4438f37edfd8dbf355af23d61cfdd4c27","86995a091f8a1385082bd10715048b52ee386a6a@google.com","net: add a sysctl to reflect the fwmark on replies\n\nKernel-originated IP packets that have no user socket associated\nwith them (e.g., ICMP errors and echo replies, TCP RSTs, etc.)\nare emitted with a mark of zero. Add a sysctl to make them have\nthe same mark as the packet they are replying to.\n\nThis allows an administrator that wishes to do so to use\nmark-based routing, firewalling, etc. for these replies by\nmarking the original packets inbound.\n\nTested using user-mode linux:\n - ICMP/ICMPv6 echo replies and errors.\n - TCP RST packets (IPv4 and IPv6).\n\nChange-Id: I95d896647b278d092ef331d1377b959da1deb042\nSigned-off-by: Lorenzo Colitti <lorenzo@google.com>\nGit-commit: 3356997e1e1b2aa9959f046203e6d0b193bbd7f7\nGit-repo: https://android.googlesource.com/kernel/common.git\n[imaund@codeaurora.org: Resolve trivial merge conflicts.]\nSigned-off-by: Ian Maund <imaund@codeaurora.org>\nSigned-off-by: Samir Mehta <samirn@codeaurora.org>","Lorenzo Colitti",true],["8cb56e3467fd98e6f9396553402cf22b08f1e5a5","86995a091f8a1385082bd10715048b52ee386a6a@google.com","net: support marking accepting TCP sockets\n\nWhen using mark-based routing, sockets returned from accept()\nmay need to be marked differently depending on the incoming\nconnection request.\n\nThis is the case, for example, if different socket marks identify\ndifferent networks: a listening socket may want to accept\nconnections from all networks, but each connection should be\nmarked with the network that the request came in on, so that\nsubsequent packets are sent on the correct network.\n\nThis patch adds a sysctl to mark TCP sockets based on the fwmark\nof the incoming SYN packet. If enabled, and an unmarked socket\nreceives a SYN, then the SYN packet's fwmark is written to the\nconnection's inet_request_sock, and later written back to the\naccepted socket when the connection is established.  If the\nsocket already has a nonzero mark, then the behaviour is the same\nas it is today, i.e., the listening socket's fwmark is used.\n\nBlack-box tested using user-mode linux:\n\n- IPv4/IPv6 SYN+ACK, FIN, etc. packets are routed based on the\n  mark of the incoming SYN packet.\n- The socket returned by accept() is marked with the mark of the\n  incoming SYN packet.\n- Tested with syncookies=1 and syncookies=2.\n\nChange-Id: I5e8c9b989762a93f3eb5a0c1b4df44f62d57f3cb\nSigned-off-by: Lorenzo Colitti <lorenzo@google.com>\n[imaund@codeaurora.org: Resolve trivial merge conflicts.]\nGit-commit: 4593f09b1f9939ec6ed2f8d7848def26b98c47ac\nGit-repo: https://android.googlesource.com/kernel/common.git\nSigned-off-by: Ian Maund <imaund@codeaurora.org>\nSigned-off-by: Samir Mehta <samirn@codeaurora.org>","Lorenzo Colitti",true],["b91346bde855ddb359bbf8ada1d0a87d7ad64c0a","3d00b54ad717112934d0b63b7ac2975b44022a61@I-love.SAKURA.ne.jp","seq_file: remove \"%n\" usage from seq_file users\n\nAll seq_printf() users are using \"%n\" for calculating padding size,\nconvert them to use seq_setwidth() / seq_pad() pair.\n\nSigned-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>\nSigned-off-by: Kees Cook <keescook@chromium.org>\nCc: Joe Perches <joe@perches.com>\nCc: David Miller <davem@davemloft.net>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nGit-commit: 652586df95e5d76b37d07a11839126dcfede1621\nGit-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\n[rsiddoji@codeaurora.org: Resolve merge conflicts with ipv4/6 ping\n changes in upstream]\nCRs-fixed: 665291\nChange-Id: Ia0416c9dbe3d80ff35f24f9c93c3543d1200a327\nSigned-off-by: Ravi Kumar <rsiddoji@codeaurora.org>","Tetsuo Handa",true],["8ca5b06fa71c0b5ad8174ff1152d3de74e706ee9","3d00b54ad717112934d0b63b7ac2975b44022a61@I-love.SAKURA.ne.jp","seq_file: introduce seq_setwidth() and seq_pad()\n\nThere are several users who want to know bytes written by seq_*() for\nalignment purpose.  Currently they are using %n format for knowing it\nbecause seq_*() returns 0 on success.\n\nThis patch introduces seq_setwidth() and seq_pad() for allowing them to\nalign without using %n format.\n\nSigned-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>\nSigned-off-by: Kees Cook <keescook@chromium.org>\nCc: Joe Perches <joe@perches.com>\nCc: David Miller <davem@davemloft.net>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nGit-commit: 839cc2a94cc3665bafe32203c2f095f4dd470a80)\nGit-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\nCRs-fixed: 665291\nChange-Id: I727d9af5ed320d717295c9d0f82c88623fb181c1\nSigned-off-by: David Brown <davidb@codeaurora.org>","Tetsuo Handa",true],["7e2685620de304fd13fe71c4ee2df7367d0e5efe","50cb10d2be062154b17ab4d66a4eab34f1cf1c84@chromium.org","vsprintf: ignore %n again\n\nThis ignores %n in printf again, as was originally documented.\nImplementing %n poses a greater security risk than utility, so it should\nstay ignored.  To help anyone attempting to use %n, a warning will be\nemitted if it is encountered.\n\nBased on an earlier patch by Joe Perches.\n\nBecause %n was designed to write to pointers on the stack, it has been\nfrequently used as an attack vector when bugs are found that leak\nuser-controlled strings into functions that ultimately process format\nstrings.  While this class of bug can still be turned into an\ninformation leak, removing %n eliminates the common method of elevating\nsuch a bug into an arbitrary kernel memory writing primitive,\nsignificantly reducing the danger of this class of bug.\n\nFor seq_file users that need to know the length of a written string for\npadding, please see seq_setwidth() and seq_pad() instead.\n\nSigned-off-by: Kees Cook <keescook@chromium.org>\nCc: Joe Perches <joe@perches.com>\nCc: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>\nCc: David Miller <davem@davemloft.net>\nSigned-off-by: Andrew Morton <akpm@linux-foundation.org>\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nGit-commit: 9196436ab2f713b823a2ba2024cb69f40b2f54a5\nGit-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\nCRs-fixed: 665291\nChange-Id: Id191acaf66e3c395df92b0a77331269b525e3cad\nSigned-off-by: David Brown <davidb@codeaurora.org>","Kees Cook",true],["b464942195c120a28c56e99082f56fccda4292f8","978acd1567d5598152161fdf8bf3ca568f950c9b@linux-iscsi.org","target/rd: Refactor rd_build_device_space + rd_release_device_space\n\nThis patch refactors rd_build_device_space() + rd_release_device_space()\ninto rd_allocate_sgl_table() + rd_release_device_space() so that they\nmay be used seperatly for setup + release of protection information\nscatterlists.\n\nAlso add explicit memset of pages within rd_allocate_sgl_table() based\nupon passed 'init_payload' value.\n\nv2 changes:\n  - Drop unused sg_table from rd_release_device_space (Wei)\n\nChange-Id: I0d42113c0e2d703fe7567a804003b034fd4fa0b7\nCc: Martin K. Petersen <martin.petersen@oracle.com>\nCc: Christoph Hellwig <hch@lst.de>\nCc: Hannes Reinecke <hare@suse.de>\nCc: Sagi Grimberg <sagig@mellanox.com>\nCc: Or Gerlitz <ogerlitz@mellanox.com>\nSigned-off-by: Nicholas Bellinger <nab@linux-iscsi.org>\nGit-commit:4442dc8a92b8f9ad8ee9e7f8438f4c04c03a22dc\nGit-repo:https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git\n[ggober@codeaurora.org:resolve trivial merge conflicts in target_core_rd.c]\nSigned-off-by: Gopal G Goberu <ggober@codeaurora.org>","Nicholas Bellinger",true],["905a6a95041d4cb338e7510704904f9c91f4d95e","e642b69ed2fc111e09ffdc37feb733a52253340d@oracle.com","net/l2tp: don't fall back on UDP [get|set]sockopt\n\nThe l2tp [get|set]sockopt() code has fallen back to the UDP functions\nfor socket option levels != SOL_PPPOL2TP since day one, but that has\nnever actually worked, since the l2tp socket isn't an inet socket.\n\nAs David Miller points out:\n\n  \"If we wanted this to work, it'd have to look up the tunnel and then\n   use tunnel->sk, but I wonder how useful that would be\"\n\nSince this can never have worked so nobody could possibly have depended\non that functionality, just remove the broken code and return -EINVAL.\n\nChange-Id: I1f5b81e6af9062731d5e8198e42e1fc7f3423afc\nReported-by: Sasha Levin <sasha.levin@oracle.com>\nAcked-by: James Chapman <jchapman@katalix.com>\nAcked-by: David Miller <davem@davemloft.net>\nCc: Phil Turnbull <phil.turnbull@oracle.com>\nCc: Vegard Nossum <vegard.nossum@oracle.com>\nCc: Willy Tarreau <w@1wt.eu>\nCc: stable@vger.kernel.org\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Divya Sharma <c_shard@codeaurora.org>","Sasha Levin",true],["3d7c359e8fa61da1e36151c70693271661a78dad","e642b69ed2fc111e09ffdc37feb733a52253340d@oracle.com","net/l2tp: don't fall back on UDP [get|set]sockopt\n\nThe l2tp [get|set]sockopt() code has fallen back to the UDP functions\nfor socket option levels != SOL_PPPOL2TP since day one, but that has\nnever actually worked, since the l2tp socket isn't an inet socket.\n\nAs David Miller points out:\n\n  \"If we wanted this to work, it'd have to look up the tunnel and then\n   use tunnel->sk, but I wonder how useful that would be\"\n\nSince this can never have worked so nobody could possibly have depended\non that functionality, just remove the broken code and return -EINVAL.\n\nChange-Id: I7d00fb0c595cdd65f9724d710f93ca5362019e43\nReported-by: Sasha Levin <sasha.levin@oracle.com>\nAcked-by: James Chapman <jchapman@katalix.com>\nAcked-by: David Miller <davem@davemloft.net>\nCc: Phil Turnbull <phil.turnbull@oracle.com>\nCc: Vegard Nossum <vegard.nossum@oracle.com>\nCc: Willy Tarreau <w@1wt.eu>\nCc: stable@vger.kernel.org\nSigned-off-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Divya Sharma <c_shard@codeaurora.org>","Sasha Levin",true],["1d60d8e39a8394c635dbbfad4f947ef7393b4597","707d14912bb250caf67dfe0ea4035681fbfc4f56@netfilter.org","netfilter: nf_conntrack: decrement global counter after object release\n\nnf_conntrack_free() decrements our counter (net->ct.count)\nbefore releasing the conntrack object. That counter is used in the\nnf_conntrack_cleanup_net_list path to check if it's time to\nkmem_cache_destroy our cache of conntrack objects. I think we have\na race there that should be easier to trigger (although still hard)\nwith CONFIG_DEBUG_OBJECTS_FREE as object releases become slowier\naccording to the following splat:\n\n[ 1136.321305] WARNING: CPU: 2 PID: 2483 at lib/debugobjects.c:260\ndebug_print_object+0x83/0xa0()\n[ 1136.321311] ODEBUG: free active (active state 0) object type:\ntimer_list hint: delayed_work_timer_fn+0x0/0x20\n...\n[ 1136.321390] Call Trace:\n[ 1136.321398]  [<ffffffff8160d4a2>] dump_stack+0x45/0x56\n[ 1136.321405]  [<ffffffff810514e8>] warn_slowpath_common+0x78/0xa0\n[ 1136.321410]  [<ffffffff81051557>] warn_slowpath_fmt+0x47/0x50\n[ 1136.321414]  [<ffffffff812f8883>] debug_print_object+0x83/0xa0\n[ 1136.321420]  [<ffffffff8106aa90>] ? execute_in_process_context+0x90/0x90\n[ 1136.321424]  [<ffffffff812f99fb>] debug_check_no_obj_freed+0x20b/0x250\n[ 1136.321429]  [<ffffffff8112e7f2>] ? kmem_cache_destroy+0x92/0x100\n[ 1136.321433]  [<ffffffff8115d945>] kmem_cache_free+0x125/0x210\n[ 1136.321436]  [<ffffffff8112e7f2>] kmem_cache_destroy+0x92/0x100\n[ 1136.321443]  [<ffffffffa046b806>] nf_conntrack_cleanup_net_list+0x126/0x160 [nf_conntrack]\n[ 1136.321449]  [<ffffffffa046c43d>] nf_conntrack_pernet_exit+0x6d/0x80 [nf_conntrack]\n[ 1136.321453]  [<ffffffff81511cc3>] ops_exit_list.isra.3+0x53/0x60\n[ 1136.321457]  [<ffffffff815124f0>] cleanup_net+0x100/0x1b0\n[ 1136.321460]  [<ffffffff8106b31e>] process_one_work+0x18e/0x430\n[ 1136.321463]  [<ffffffff8106bf49>] worker_thread+0x119/0x390\n[ 1136.321467]  [<ffffffff8106be30>] ? manage_workers.isra.23+0x2a0/0x2a0\n[ 1136.321470]  [<ffffffff8107210b>] kthread+0xbb/0xc0\n[ 1136.321472]  [<ffffffff81072050>] ? kthread_create_on_node+0x110/0x110\n[ 1136.321477]  [<ffffffff8161b8fc>] ret_from_fork+0x7c/0xb0\n[ 1136.321479]  [<ffffffff81072050>] ? kthread_create_on_node+0x110/0x110\n[ 1136.321481] ---[ end trace 25f53c192da70825 ]---\n\nCRs-fixed: 717356\nChange-Id: I5e4aff3390cadadbac9ffe8fcdb651c79e42c685\nReported-by: Linus Torvalds <torvalds@linux-foundation.org>\nSigned-off-by: Pablo Neira Ayuso <pablo@netfilter.org>\nGit-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\nGit-commit: 0c3c6c00c69649f4749642b3e5d82125fde1600c\nSigned-off-by: Joonwoo Park <joonwoop@codeaurora.org>","Pablo Neira Ayuso",true],["617f8c6a8c869dc483c50be14ab192fd854bad23","ff341aa343d564f9e53e9dcb6996be8c04859a66@oracle.com","nl80211: nl80211hdr_put() doesn't return an ERR_PTR\n\nThere are a few places which check nl80211hdr_put() for an ERR_PTR\nbut actually it returns NULL on error and never error values.  In\nnl80211_testmode_dump() the return wasn't checked at all so I have\nadded one.\n\nSigned-off-by: Dan Carpenter <dan.carpenter@oracle.com>\n[some whitespace changes]\nSigned-off-by: Johannes Berg <johannes.berg@intel.com>\nGit-commit: cb35fba360dfc3496e5d8a47e23ec5ccdfd90925\nGit-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git\nChange-Id: I5da1aafea35110a1ce606d402b1b96859d34b869\n[akholaif@codeaurora.org: resolved conflicts manually]\nSigned-off-by: Ahmad Kholaif <akholaif@codeaurora.org>","Dan Carpenter",true],["16a9a10f079769cc1d07e2fb8c5fddf376b6d20d","822e83f36b3b682c554ad5bd6c83a8c459cdae33@codeaurora.org","media: dvb: check filter is valid for fullness callback\n\nIn PULL mode, all relevant filters' buffer space is checked\nto ensure sufficient space or otherwise blocking untill it\nbecomes available. As callback might sleep it is called without\nholding any locks. So at this time, just before the callback executes,\nthe filter might have been closed by a different thread.\nTo prevent invalid access, verify in the callback that filter is still\nvalid.\n\nChange-Id: Ie07ac5d17942ef39d12e4eed3078e382c956fe2e\nSigned-off-by: Gilad Broner <gbroner@codeaurora.org>","Gilad Broner",true],["7f699fbb6ab15bfe12e73eca55f4eaf4e69722a1","0d1dae58f23e775314d087dff72f8e136928d2cc@codeaurora.org","msm: mdp: Validate input arguments from user space\n\nFully verify the input arguments from user client are safe\nto use.\n\nChange-Id: Ie14332443b187951009c63ebfb78456dcd9ba60f\nSigned-off-by: Raghavendra Ambadas <rambad@codeaurora.org>","raghavendra ambadas",true],["2eeb25228b825cd3692275f3972c551504cc02ec","d3c7bae90ce2477533ec852edf38b65198016249@localhost","Merge \"msm: mdp: Validate input arguments from user space\"","Linux Build Service Account",true],["6891c8f90220dfb5d71d83263f0a41b30f9732e2","1a2f18c7887fc8d384193bb926e616097dea5b69@google.com","tcp: add a sysctl to config the tcp_default_init_rwnd\n\nThe default initial rwnd is hardcoded to 10.\n\nNow we allow it to be controlled via\n  /proc/sys/net/ipv4/tcp_default_init_rwnd\nwhich limits the values from 3 to 100\n\nThis is somewhat needed because ipv6 routes are\nautoconfigured by the kernel.\n\nSee \"An Argument for Increasing TCP's Initial Congestion Window\"\nin https://developers.google.com/speed/articles/tcp_initcwnd_paper.pdf\n\nChange-Id: I386b2a9d62de0ebe05c1ebe1b4bd91b314af5c54\nSigned-off-by: JP Abgrall <jpa@google.com>\nGit-commit: 969ff3bbb38b6622800a1a4bd38404e3701193de\nGit-Repo: https://android.googlesource.com/kernel/common.git\n[imaund@codeaurora.org: Resolved trivial context conflicts.]\nSigned-off-by: Ian Maund <imaund@codeaurora.org>","JP Abgrall",true],["032c5ccf0f58b6fe905476f48cfc8405c687d46a","a10322354df82ddfd5d716a269bc9fae48ca689f@codeaurora.org","updated file arch/arm/configs/msm8960_defconfig\n\nChange-Id: I9fccbe7f54e5a731647e95fea9dfe888452390a6\nSigned-off-by: Pradosh Das <prados@codeaurora.org>","Pradosh Das",true],["23b5c79d726a7d2fe89ad2cd4a8914eaf6e94411","d3c7bae90ce2477533ec852edf38b65198016249@localhost","Merge \"netfilter: nf_conntrack: decrement global counter after object release\"","Linux Build Service Account",true],["1c653884a020f2c8e495b4fdd6e056d78e87a461","d3c7bae90ce2477533ec852edf38b65198016249@localhost","Merge \"net/l2tp: don't fall back on UDP [get|set]sockopt\"","Linux Build Service Account",true],["7224f142bba6ff83502a2b78b2a9c794998b3b0a","d3c7bae90ce2477533ec852edf38b65198016249@localhost","Merge \"net/l2tp: don't fall back on UDP [get|set]sockopt\"","Linux Build Service Account",true]],"size":55,"ref":"refs/heads/cm-12.0","head":"3247070fc579bebcdc22076a186f2f7a946fb11e"}