GitHub PushEvent at 2014-09-06 06:11:26
Repository: hammerhead_kernel_caf_kk-3.5
Actor: neobuddy89
Payload: {"shas":[["74c4717dac42299845c12c61508fb5a6457d405c","7e9c653c8ec3abfdd967a0616fd143ca77e7b405@cn.fujitsu.com","ipv6: fix incorrect ipsec fragment\n\n[ Upstream commit 0c1833797a5a6ec23ea9261d979aa18078720b74 ]\n\nSince commit ad0081e43a\n\"ipv6: Fragment locally generated tunnel-mode IPSec6 packets as needed\"\nthe fragment of packets is incorrect.\nbecause tunnel mode needs IPsec headers and trailer for all fragments,\nwhile on transport mode it is sufficient to add the headers to the\nfirst fragment and the trailer to the last.\n\nso modify mtu and maxfraglen base on ipsec mode and if fragment is first\nor last.\n\nwith my test,it work well(every fragment's size is the mtu)\nand does not trigger slow fragment path.\n\nChanges from v1:\n\tthough optimization, mtu_prev and maxfraglen_prev can be delete.\n\treplace xfrm mode codes with dst_entry's new frag DST_XFRM_TUNNEL.\n\tadd fuction ip6_append_data_mtu to make codes clearer.\n\nSigned-off-by: Gao feng <gaofeng@cn.fujitsu.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Gao feng",true],["f9979a0dfcba59d8239eb7075cc44d3931046e47","17c2d8920621522552b392f72d8fdb4d1e866b44@suug.ch","ipv6: fib: Restore NTF_ROUTER exception in fib6_age()\n\n[ Upstream commit 8bd74516b1bd9308c17f67583134d93f777203ca ]\n\nCommit 5339ab8b1dd82 (ipv6: fib: Convert fib6_age() to\ndst_neigh_lookup().) seems to have mistakenly inverted the\nexception for cached NTF_ROUTER routes.\n\nSigned-off-by: Thomas Graf <tgraf@suug.ch>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Thomas Graf",true],["fa065119156b9a880d015085264eb615e07c5512","17c2d8920621522552b392f72d8fdb4d1e866b44@suug.ch","ipv6: Move ipv6 proc file registration to end of init order\n\n[ Upstream commit d189634ecab947c10f6f832258b103d0bbfe73cc ]\n\n/proc/net/ipv6_route reflects the contents of fib_table_hash. The proc\nhandler is installed in ip6_route_net_init() whereas fib_table_hash is\nallocated in fib6_net_init() _after_ the proc handler has been installed.\n\nThis opens up a short time frame to access fib_table_hash with its pants\ndown.\n\nMove the registration of the proc files to a later point in the init\norder to avoid the race.\n\nTested :-)\n\nSigned-off-by: Thomas Graf <tgraf@suug.ch>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Thomas Graf",true],["e4c735a7eb041911e04cd5073f8692adece434d0","0672176982fbc629cc374f31a7a45ae1671abf90@solarflare.com","ipv6: addrconf: Avoid calling netdevice notifiers with RCU read-side lock\n\n[ Upstream commit 4acd4945cd1e1f92b20d14e349c6c6a52acbd42d ]\n\nCong Wang reports that lockdep detected suspicious RCU usage while\nenabling IPV6 forwarding:\n\n [ 1123.310275] ===============================\n [ 1123.442202] [ INFO: suspicious RCU usage. ]\n [ 1123.558207] 3.6.0-rc1+ #109 Not tainted\n [ 1123.665204] -------------------------------\n [ 1123.768254] include/linux/rcupdate.h:430 Illegal context switch in RCU read-side critical section!\n [ 1123.992320]\n [ 1123.992320] other info that might help us debug this:\n [ 1123.992320]\n [ 1124.307382]\n [ 1124.307382] rcu_scheduler_active = 1, debug_locks = 0\n [ 1124.522220] 2 locks held by sysctl/5710:\n [ 1124.648364]  #0:  (rtnl_mutex){+.+.+.}, at: [<ffffffff81768498>] rtnl_trylock+0x15/0x17\n [ 1124.882211]  #1:  (rcu_read_lock){.+.+.+}, at: [<ffffffff81871df8>] rcu_lock_acquire+0x0/0x29\n [ 1125.085209]\n [ 1125.085209] stack backtrace:\n [ 1125.332213] Pid: 5710, comm: sysctl Not tainted 3.6.0-rc1+ #109\n [ 1125.441291] Call Trace:\n [ 1125.545281]  [<ffffffff8109d915>] lockdep_rcu_suspicious+0x109/0x112\n [ 1125.667212]  [<ffffffff8107c240>] rcu_preempt_sleep_check+0x45/0x47\n [ 1125.781838]  [<ffffffff8107c260>] __might_sleep+0x1e/0x19b\n[...]\n [ 1127.445223]  [<ffffffff81757ac5>] call_netdevice_notifiers+0x4a/0x4f\n[...]\n [ 1127.772188]  [<ffffffff8175e125>] dev_disable_lro+0x32/0x6b\n [ 1127.885174]  [<ffffffff81872d26>] dev_forward_change+0x30/0xcb\n [ 1128.013214]  [<ffffffff818738c4>] addrconf_forward_change+0x85/0xc5\n[...]\n\naddrconf_forward_change() uses RCU iteration over the netdev list,\nwhich is unnecessary since it already holds the RTNL lock.  We also\ncannot reasonably require netdevice notifier functions not to sleep.\n\nReported-by: Cong Wang <amwang@redhat.com>\nSigned-off-by: Ben Hutchings <bhutchings@solarflare.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Ben Hutchings",true],["b34bc79787107868ad0bfdecdfe88fb60f03d680","7e9c653c8ec3abfdd967a0616fd143ca77e7b405@cn.fujitsu.com","ipv6: release reference of ip6_null_entry's dst entry in __ip6_del_rt\n\n[ Upstream commit 6825a26c2dc21eb4f8df9c06d3786ddec97cf53b ]\n\nas we hold dst_entry before we call __ip6_del_rt,\nso we should alse call dst_release not only return\n-ENOENT when the rt6_info is ip6_null_entry.\n\nand we already hold the dst entry, so I think it's\nsafe to call dst_release out of the write-read lock.\n\nSigned-off-by: Gao feng <gaofeng@cn.fujitsu.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Gao feng",true],["633abaad5690d734093753e195faf113b15241f3","7864bb1e0e12322ea18ea731d051b95b75140567@6wind.com","ipv6: del unreachable route when an addr is deleted on lo\n\n[ Upstream commit 64c6d08e6490fb18cea09bb03686c149946bd818 ]\n\nWhen an address is added on loopback (ip -6 a a 2002::1/128 dev lo), two routes\nare added:\n - one in the local table:\n    local 2002::1 via :: dev lo  proto none  metric 0\n - one the in main table (for the prefix):\n    unreachable 2002::1 dev lo  proto kernel  metric 256  error -101\n\nWhen the address is deleted, the route inserted in the main table remains\nbecause we use rt6_lookup(), which returns NULL when dst->error is set, which\nis the case here! Thus, it is better to use ip6_route_lookup() to avoid this\nkind of filter.\n\nSigned-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Nicolas Dichtel",true],["68a3734a806c7c8232e4a811b5e59c7d376dffda","b8f9cab8be13de37b9588aedad10a20fc3a68783@trendmicro.com.cn","ipv6: fix return value check in fib6_add()\n\n[ Upstream commit f950c0ecc78f745e490d615280e031de4dbb1306 ]\n\nIn case of error, the function fib6_add_1() returns ERR_PTR()\nor NULL pointer. The ERR_PTR() case check is missing in fib6_add().\n\ndpatch engine is used to generated this patch.\n(https://github.com/weiyj/dpatch)\n\nSigned-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Wei Yongjun",true],["cce9f856333887f9c1e82629d32c9f9befbf3591","312c7d941f03386814be517ffdb3e0eb6624e275@google.com","ipv6: raw: fix icmpv6_filter()\n\n[ Upstream commit 1b05c4b50edbddbdde715c4a7350629819f6655e ]\n\nicmpv6_filter() should not modify its input, or else its caller\nwould need to recompute ipv6_hdr() if skb->head is reallocated.\n\nUse skb_header_pointer() instead of pskb_may_pull() and\nchange the prototype to make clear both sk and skb are const.\n\nAlso, if icmpv6 header cannot be found, do not deliver the packet,\nas we do in IPv4.\n\nSigned-off-by: Eric Dumazet <edumazet@google.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Eric Dumazet",true],["8cf4e1ee5f54d1f8b11fa5ccc7cfc0c8f9fd4131","312c7d941f03386814be517ffdb3e0eb6624e275@google.com","ipv6: mip6: fix mip6_mh_filter()\n\n[ Upstream commit 96af69ea2a83d292238bdba20e4508ee967cf8cb ]\n\nmip6_mh_filter() should not modify its input, or else its caller\nwould need to recompute ipv6_hdr() if skb->head is reallocated.\n\nUse skb_header_pointer() instead of pskb_may_pull()\n\nSigned-off-by: Eric Dumazet <edumazet@google.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Eric Dumazet",true],["1c1239a64e1a066494fbca41aa4ec2aeae8d8c99","312c7d941f03386814be517ffdb3e0eb6624e275@google.com","ipv6: addrconf: fix /proc/net/if_inet6\n\n[ Upstream commit 9f0d3c2781baa1102108e16efbe640dd74564a7c ]\n\nCommit 1d5783030a1 (ipv6/addrconf: speedup /proc/net/if_inet6 filling)\nadded bugs hiding some devices from if_inet6 and breaking applications.\n\n\"ip -6 addr\" could still display all IPv6 addresses, while \"ifconfig -a\"\ncouldnt.\n\nOne way to reproduce the bug is by starting in a shell :\n\nunshare -n /bin/bash\nifconfig lo up\n\nAnd in original net namespace, lo device disappeared from if_inet6\n\nReported-by: Jan Hinnerk Stosch <janhinnerk.stosch@gmail.com>\nTested-by: Jan Hinnerk Stosch <janhinnerk.stosch@gmail.com>\nSigned-off-by: Eric Dumazet <edumazet@google.com>\nCc: Mihai Maruseac <mihai.maruseac@gmail.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Eric Dumazet",true],["4a6ec381f7eed6ad8f88fc6333dfd034a235cfe0","81c2f95e9d1350da984a3ef03e964ca9a6cbc5c2@gmail.com","ipv6: Set default hoplimit as zero.\n\n[ Upstream commit 14edd87dc67311556f1254a8f29cf4dd6cb5b7d1 ]\n\nCommit a02e4b7dae4551(Demark default hoplimit as zero) only changes the\nhoplimit checking condition and default value in ip6_dst_hoplimit, not\nzeros all hoplimit default value.\n\nKeep the zeroing ip6_template_metrics[RTAX_HOPLIMIT - 1] to force it as\nconst, cause as a37e6e344910(net: force dst_default_metrics to const\nsection)\n\nSigned-off-by: Li RongQing <roy.qing.li@gmail.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Li RongQing",true],["775d372739b5951b648ed2a22699013eb99fc85b","331be22c6b63ca3e0a03d408c2d906b1b02cd5f2@stressinduktion.org","ipv6: send unsolicited neighbour advertisements to all-nodes\n\n[ Upstream commit 60713a0ca7fd6651b951cc1b4dbd528d1fc0281b ]\n\nAs documented in RFC4861 (Neighbor Discovery for IP version 6) 7.2.6.,\nunsolicited neighbour advertisements should be sent to the all-nodes\nmulticast address.\n\nSigned-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Hannes Frederic Sowa",true],["1c99bedd3b8cd16c73bb9c419351b2577001093d","331be22c6b63ca3e0a03d408c2d906b1b02cd5f2@stressinduktion.org","ipv6: setsockopt(IPIPPROTO_IPV6, IPV6_MINHOPCOUNT) forgot to set return value\n\n[ Upstream commit d4596bad2a713fcd0def492b1960e6d899d5baa8 ]\n\nCc: Stephen Hemminger <shemminger@vyatta.com>\nSigned-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Hannes Frederic Sowa",true],["9c462946211f68eb2caa824ab48b42c14ec340e2","2308dac6181c589319926f065d89714cd44ecf8a@ipflavors.com","ipv6: fix the noflags test in addrconf_get_prefix_route\n\n[ Upstream commit 85da53bf1c336bb07ac038fb951403ab0478d2c5 ]\n\nThe tests on the flags in addrconf_get_prefix_route() does no make\nmuch sense: the 'noflags' parameter contains the set of flags that\nmust not match with the route flags, so the test must be done\nagainst 'noflags', and not against 'flags'.\n\nSigned-off-by: Romain Kuntz <r.kuntz@ipflavors.com>\nAcked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Romain Kuntz",true],["44f23d243df6013999809c4ca143da470f71f978","2308dac6181c589319926f065d89714cd44ecf8a@ipflavors.com","ipv6: fix header length calculation in ip6_append_data()\n\n[ Upstream commit 7efdba5bd9a2f3e2059beeb45c9fa55eefe1bced ]\n\nCommit 299b0767 (ipv6: Fix IPsec slowpath fragmentation problem)\nhas introduced a error in the header length calculation that\nprovokes corrupted packets when non-fragmentable extensions\nheaders (Destination Option or Routing Header Type 2) are used.\n\nrt->rt6i_nfheader_len is the length of the non-fragmentable\nextension header, and it should be substracted to\nrt->dst.header_len, and not to exthdrlen, as it was done before\ncommit 299b0767.\n\nThis patch reverts to the original and correct behavior. It has\nbeen successfully tested with and without IPsec on packets\nthat include non-fragmentable extensions headers.\n\nSigned-off-by: Romain Kuntz <r.kuntz@ipflavors.com>\nAcked-by: Steffen Klassert <steffen.klassert@secunet.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Romain KUNTZ",true],["febca9d24705694791de24d06d1613ca62da6a81","518d07701a80fb29f0da45c7c615106b9be9d5c6@redhat.com","ipv6: do not create neighbor entries for local delivery\n\n[ Upstream commit bd30e947207e2ea0ff2c08f5b4a03025ddce48d3 ]\n\nThey will be created at output, if ever needed. This avoids creating\nempty neighbor entries when TPROXYing/Forwarding packets for addresses\nthat are not even directly reachable.\n\nNote that IPv4 already handles it this way. No neighbor entries are\ncreated for local input.\n\nTested by myself and customer.\n\nSigned-off-by: Jiri Pirko <jiri@resnulli.us>\nSigned-off-by: Marcelo Ricardo Leitner <mleitner@redhat.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Marcelo Ricardo Leitner",true],["b635fbd06917bf7d06301df85734369eaab615d9","331be22c6b63ca3e0a03d408c2d906b1b02cd5f2@stressinduktion.org","ipv6: stop multicast forwarding to process interface scoped addresses\n\n[ Upstream commit ddf64354af4a702ee0b85d0a285ba74c7278a460 ]\n\nv2:\na) used struct ipv6_addr_props\n\nv3:\na) reverted changes for ipv6_addr_props\n\nv4:\na) do not use __ipv6_addr_needs_scope_id\n\nCc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>\nSigned-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>\nAcked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Hannes Frederic Sowa",true],["7800c13e39357661919772a231db6c47f4924f69","331be22c6b63ca3e0a03d408c2d906b1b02cd5f2@stressinduktion.org","ipv6: don't accept multicast traffic with scope 0\n\n[ Upstream commit 20314092c1b41894d8c181bf9aa6f022be2416aa ]\n\nv2:\na) moved before multicast source address check\nb) changed comment to netdev style\n\nAcked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>\nCc: Erik Hugne <erik.hugne@ericsson.com>\nCc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>\nSigned-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>\nAcked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Hannes Frederic Sowa",true],["55f583483e8ccb6fb500a7cb5a60b255ef016126","7e14a0e00bbf99d2107833abe9d16fc549d11fad@gmail.com","ipv6: fix bad free of addrconf_init_net\n\n[ Upstream commit a79ca223e029aa4f09abb337accf1812c900a800 ]\n\nSigned-off-by: Hong Zhiguo <honkiko@gmail.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Hong Zhiguo",true],["ab359c18df010f664a07790205cb5494567a835f","331be22c6b63ca3e0a03d408c2d906b1b02cd5f2@stressinduktion.org","ipv6: don't accept node local multicast traffic from the wire\n\n[ Upstream commit 1c4a154e5253687c51123956dfcee9e9dfa8542d ]\n\nErik Hugne's errata proposal (Errata ID: 3480) to RFC4291 has been\nverified: http://www.rfc-editor.org/errata_search.php?eid=3480\n\nWe have to check for pkt_type and loopback flag because either the\npackets are allowed to travel over the loopback interface (in which case\npkt_type is PACKET_HOST and IFF_LOOPBACK flag is set) or they travel\nover a non-loopback interface back to us (in which case PACKET_TYPE is\nPACKET_LOOPBACK and IFF_LOOPBACK flag is not set).\n\nSigned-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>\nCc: Erik Hugne <erik.hugne@ericsson.com>\nCc: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>\nSigned-off-by: David S. Miller <davem@davemloft.net>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\nSigned-off-by: Pranav Vashi <neobuddy89@gmail.com>","Hannes Frederic Sowa",true]],"size":159,"ref":"refs/heads/kitkat-caf-net","head":"c6183bb18c4d1d6ac8d0d4da65210ae67f05ff6d"}