{"ref":"refs/heads/sh/core","commits":[{"author":{"name":"Eric W. Biederman","email":"8a741aa8cbd77ebc4a56ddb528ce9fd15d42f034@xmission.com"},"message":"macvtap: Close a race between macvtap_open and macvtap_dellink.\n\nThere is a small window in macvtap_open between looking up a\nnetworking device and calling macvtap_set_queue in which\nmacvtap_del_queues called from macvtap_dellink.   After\ncalling macvtap_del_queues it is totally incorrect to\nallow macvtap_set_queue to proceed so prevent success by\nreporting that all of the available queues are in use.\n\nSigned-off-by: Eric W. Biederman <ebiederm@xmission.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/99f34b38cdc8f75a4b9adb5a617b118253b3efe1","sha":"99f34b38cdc8f75a4b9adb5a617b118253b3efe1"},{"author":{"name":"Eric W. Biederman","email":"8a741aa8cbd77ebc4a56ddb528ce9fd15d42f034@xmission.com"},"message":"macvtap: Fix macvtap_open races in the zero copy enable code.\n\nTo see if it is appropriate to enable the macvtap zero copy feature\ndon't test the lowerdev network device flags.   Instead test the\nmacvtap network device flags which are a direct copy of the lowerdev\nflags.  This is important because nothing holds a reference to lowerdev\nand on a very bad day we lowerdev could be a pointer to stale memory.\n\nSigned-off-by: Eric W. Biederman <ebiederm@xmission.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/047af9cfedfa357e1497e327eaa893253ca51971","sha":"047af9cfedfa357e1497e327eaa893253ca51971"},{"author":{"name":"Eric W. Biederman","email":"8a741aa8cbd77ebc4a56ddb528ce9fd15d42f034@xmission.com"},"message":"macvtap: Don't leak unreceived packets when we delete a macvtap device.\n\nTo avoid leaking packets in the receive queue.  Add a socket destructor\nthat will run whenever destroy a macvtap socket.\n\nSigned-off-by: Eric W. Biederman <ebiederm@xmission.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/2259fef0bb80a8fc842b5690b89a640464df2859","sha":"2259fef0bb80a8fc842b5690b89a640464df2859"},{"author":{"name":"Eric W. Biederman","email":"8a741aa8cbd77ebc4a56ddb528ce9fd15d42f034@xmission.com"},"message":"macvtap: Rewrite macvtap_newlink so the error handling works.\n\nPlace macvlan_common_newlink at the end of macvtap_newlink because\nfailing in newlink after registering your network device is not\nsupported.\n\nMove device_create into a netdevice creation notifier.   The network device\nnotifier is the only hook that is called after the network device has been\nregistered with the device layer and before register_network_device returns\nsuccess.\n\nSigned-off-by: Eric W. Biederman <ebiederm@xmission.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/9bf1907f4293d61d5a283d18c4ad28d048261797","sha":"9bf1907f4293d61d5a283d18c4ad28d048261797"},{"author":{"name":"Eric W. Biederman","email":"8a741aa8cbd77ebc4a56ddb528ce9fd15d42f034@xmission.com"},"message":"macvtap: Fix the minor device number allocation\n\nOn systems that create and delete lots of dynamic devices the\n31bit linux ifindex fails to fit in the 16bit macvtap minor,\nresulting in unusable macvtap devices.  I have systems running\nautomated tests that that hit this condition in just a few days.\n\nUse a linux idr allocator to track which mavtap minor numbers\nare available and and to track the association between macvtap\nminor numbers and macvtap network devices.\n\nRemove the unnecessary unneccessary check to see if the network\ndevice we have found is indeed a macvtap device.  With macvtap\nspecific data structures it is impossible to find any other\nkind of networking device.\n\nIncrease the macvtap minor range from 65536 to the full 20 bits\nthat is supported by linux device numbers.  It doesn't solve the\noriginal problem but there is no penalty for a larger minor\ndevice range.\n\nSigned-off-by: Eric W. Biederman <ebiederm@xmission.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/e09eff7fc1c6f011f7bdb304e10d2ceef08c88ab","sha":"e09eff7fc1c6f011f7bdb304e10d2ceef08c88ab"},{"author":{"name":"Mihai Maruseac","email":"39c6231fa9e9b146c89a602ee962216660d40303@gmail.com"},"message":"dev: use name hash for dev_seq_ops\n\nInstead of using the dev->next chain and trying to resync at each call to\ndev_seq_start, use the name hash, keeping the bucket and the offset in\nseq->private field.\n\nTests revealed the following results for ifconfig > /dev/null\n\t* 1000 interfaces:\n\t\t* 0.114s without patch\n\t\t* 0.089s with patch\n\t* 3000 interfaces:\n\t\t* 0.489s without patch\n\t\t* 0.110s with patch\n\t* 5000 interfaces:\n\t\t* 1.363s without patch\n\t\t* 0.250s with patch\n\t* 128000 interfaces (other setup):\n\t\t* ~100s without patch\n\t\t* ~30s with patch\n\nSigned-off-by: Mihai Maruseac <mmaruseac@ixiacom.com>\nSigned-off-by: Eric Dumazet <eric.dumazet@gmail.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/f04565ddf52e401880f8ba51de0dff8ba51c99fd","sha":"f04565ddf52e401880f8ba51de0dff8ba51c99fd"},{"author":{"name":"Daniel van Vugt","email":"cc0ecbd913ba7a4ded0556131be8668768ed3643@gmail.com"},"message":"HID: hid-magicmouse: Magic Trackpad has 1 button, not 2\n\nhid-magicmouse was advertising the Apple Magic Trackpad as having 2\nbuttons (left and right) when it actually only has 1 button.\n\nAdvertising multiple buttons makes Xorg disable all button 2 and 3\nemulation (using multi-finger clicks). So Xorg users don't get working\nright/middle-click emulation out of the box.\n\nThis patch makes hid-magicmouse correctly only report one real button\nfor Magic Trackpad, which in turn makes Xorg enable multi-finger click\nsupport to emulate right/middle buttons.\n\n[http://launchpad.net/bugs/862094]\n\nSigned-off-by: Daniel van Vugt <vanvugt@gmail.com>\nReviewed-by: Chase Douglas <chase.douglas@canonical.com>\nSigned-off-by: Jiri Kosina <jkosina@suse.cz>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/bca621421c53caf73f36e181d6e5fe41fe0da7a7","sha":"bca621421c53caf73f36e181d6e5fe41fe0da7a7"},{"author":{"name":"Axel Lin","email":"b6ffd6973e972cb999e8e535ab74da7fee0c035f@gmail.com"},"message":"ASoC: Set sgtl5000->ldo in ldo_regulator_register\n\nOtherwise calling ldo_regulator_remove() does not unregister regulator\nand free memories.\n\nSigned-off-by: Axel Lin <axel.lin@gmail.com>\nAcked-by: Wolfram Sang <w.sang@pengutronix.de>\nAcked-by: Liam Girdwood <lrg@ti.com>\nSigned-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/5b13de7aa754eaa274fc9ab018191bcdcb21bc45","sha":"5b13de7aa754eaa274fc9ab018191bcdcb21bc45"},{"author":{"name":"Axel Lin","email":"b6ffd6973e972cb999e8e535ab74da7fee0c035f@gmail.com"},"message":"ASoC: Use SGTL5000_LINREG_VDDD_MASK instead of hardcoded mask value\n\nWe have defined SGTL5000_LINREG_VDDD_MASK in sgtl5000.h,\nuse it instead of hardcoded (0x1 << 4) - 1 for the mask.\n\nSigned-off-by: Axel Lin <axel.lin@gmail.com>\nAcked-by: Wolfram Sang <w.sang@pengutronix.de>\nAcked-by: Liam Girdwood <lrg@ti.com>\nSigned-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/064a4bcee4114e519ce22d56d2eb8e9dfa653804","sha":"064a4bcee4114e519ce22d56d2eb8e9dfa653804"},{"author":{"name":"Marek Szyprowski","email":"2a0259761cc3e88db42be5300c1579a67c77e65e@samsung.com"},"message":"ARM: S5P: fix offset calculation on gpio-interrupt\n\nOffsets of the irq controller registers were calculated\ncorrectly only for first GPIO bank. This patch fixes\ncalculation of the register offsets for all GPIO banks.\n\nReported-by: Sylwester Nawrocki <s.nawrocki@samsung.com>\nSigned-off-by: Marek Szyprowski <m.szyprowski@samsung.com>\nSigned-off-by: Kyungmin Park <kyungmin.park@samsung.com>\nSigned-off-by: Kukjin Kim <kgene.kim@samsung.com>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/1052cff317e7636456595f2246b9f644c53eccbd","sha":"1052cff317e7636456595f2246b9f644c53eccbd"},{"author":{"name":"Eric Dumazet","email":"a0baddf32b28d2f9429941ed4af2fe636e210591@gmail.com"},"message":"tcp: add const qualifiers where possible\n\nAdding const qualifiers to pointers can ease code review, and spot some\nbugs. It might allow compiler to optimize code further.\n\nFor example, is it legal to temporary write a null cksum into tcphdr\nin tcp_md5_hash_header() ? I am afraid a sniffer could catch the\ntemporary null value...\n\nSigned-off-by: Eric Dumazet <eric.dumazet@gmail.com>\nSigned-off-by: David S. Miller <davem@davemloft.net>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/cf533ea53ebfae41be15b103d78e7ebec30b9969","sha":"cf533ea53ebfae41be15b103d78e7ebec30b9969"},{"author":{"name":"Williams, Mitch A","email":"acfbed6236bdabd688e979c4a715822951672d73@intel.com"},"message":"igbvf: Update module identification strings\n\nUpdate adapter identification strings to properly indicate i350 VF devices\nin the VF driver. Change the driver ID string to remove 82576-specific\nwording. Update copyright date.\n\nSigned-off-by: Mitch Williams <mitch.a.williams@intel.com>\nTested-by: Sibai Li <sibai.li@intel.com>\nSigned-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/10090751c009f4b21a12cd64e96376757563fd4b","sha":"10090751c009f4b21a12cd64e96376757563fd4b"},{"author":{"name":"Williams, Mitch A","email":"acfbed6236bdabd688e979c4a715822951672d73@intel.com"},"message":"igbvf: Bump version number\n\nSigned-off-by: Mitch Williams <mitch.a.williams@intel.com>\nTested-by: Sibai Li <sibai.li@intel.com>\nSigned-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/7d94eb84f3cc6557870a5bc5aa63cf6dde801fa7","sha":"7d94eb84f3cc6557870a5bc5aa63cf6dde801fa7"},{"author":{"name":"Carolyn Wyborny","email":"e35dd5c02b168c490ac58c3994dfe3c4e0d9fc66@intel.com"},"message":"igb: Fix for Alt MAC Address feature on 82580 and later devices\n\nIn 82580 and later devices, the alternate MAC address feature is\ncompletely handled by the option ROM and software does not handle\nit anymore.  This patch changes the check_alt_mac_addr function to\nexit immediately if device is 82580 or later.\n\nSigned-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>\nSigned-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/65189d284b48bd2e747e8cf9dfb0ff63b859682f","sha":"65189d284b48bd2e747e8cf9dfb0ff63b859682f"},{"author":{"name":"Carolyn Wyborny","email":"e35dd5c02b168c490ac58c3994dfe3c4e0d9fc66@intel.com"},"message":"igb: Move DMA Coalescing init code to separate function.\n\nThis patch moves the DMA Coalescing feature initialization code from\nigb_reset to a new function and replaces it with a call to the new\nfunction.\n\nSigned-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>\nTested-by: Aaron Brown <aaron.f.brown@intel.com>\nSigned-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/b6e0c419f040cee87813660bb4efd1fe43a8ebee","sha":"b6e0c419f040cee87813660bb4efd1fe43a8ebee"},{"author":{"name":"Carolyn Wyborny","email":"e35dd5c02b168c490ac58c3994dfe3c4e0d9fc66@intel.com"},"message":"igb: VFTA Table Fix for i350 devices\n\nDue to a hardware problem, writes to the VFTA register can\ntheoretically fail. Although the likelihood of this is very low.\nThis patch adds a shadow vfta in the adapter struct for reading\nand adds new write functions for these devices to work around the problem.\n\nSigned-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>\nTested-by: Aaron Brown <aaron.f.brown@intel.com>\nSigned-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/1128c756bef8285db3bbde5b26d4a6b4c7e2e613","sha":"1128c756bef8285db3bbde5b26d4a6b4c7e2e613"},{"author":{"name":"Nick Bowler","email":"b06e860ddd122affe35b756653dc7bda58c156fd@elliptictech.com"},"message":"crypto: ghash - Avoid null pointer dereference if no key is set\n\nThe ghash_update function passes a pointer to gf128mul_4k_lle which will\nbe NULL if ghash_setkey is not called or if the most recent call to\nghash_setkey failed to allocate memory.  This causes an oops.  Fix this\nup by returning an error code in the null case.\n\nThis is trivially triggered from unprivileged userspace through the\nAF_ALG interface by simply writing to the socket without setting a key.\n\nThe ghash_final function has a similar issue, but triggering it requires\na memory allocation failure in ghash_setkey _after_ at least one\nsuccessful call to ghash_update.\n\n  BUG: unable to handle kernel NULL pointer dereference at 00000670\n  IP: [<d88c92d4>] gf128mul_4k_lle+0x23/0x60 [gf128mul]\n  *pde = 00000000\n  Oops: 0000 [#1] PREEMPT SMP\n  Modules linked in: ghash_generic gf128mul algif_hash af_alg nfs lockd nfs_acl sunrpc bridge ipv6 stp llc\n\n  Pid: 1502, comm: hashatron Tainted: G        W   3.1.0-rc9-00085-ge9308cf #32 Bochs Bochs\n  EIP: 0060:[<d88c92d4>] EFLAGS: 00000202 CPU: 0\n  EIP is at gf128mul_4k_lle+0x23/0x60 [gf128mul]\n  EAX: d69db1f0 EBX: d6b8ddac ECX: 00000004 EDX: 00000000\n  ESI: 00000670 EDI: d6b8ddac EBP: d6b8ddc8 ESP: d6b8dda4\n   DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068\n  Process hashatron (pid: 1502, ti=d6b8c000 task=d6810000 task.ti=d6b8c000)\n  Stack:\n   00000000 d69db1f0 00000163 00000000 d6b8ddc8 c101a520 d69db1f0 d52aa000\n   00000ff0 d6b8dde8 d88d310f d6b8a3f8 d52aa000 00001000 d88d502c d6b8ddfc\n   00001000 d6b8ddf4 c11676ed d69db1e8 d6b8de24 c11679ad d52aa000 00000000\n  Call Trace:\n   [<c101a520>] ? kmap_atomic_prot+0x37/0xa6\n   [<d88d310f>] ghash_update+0x85/0xbe [ghash_generic]\n   [<c11676ed>] crypto_shash_update+0x18/0x1b\n   [<c11679ad>] shash_ahash_update+0x22/0x36\n   [<c11679cc>] shash_async_update+0xb/0xd\n   [<d88ce0ba>] hash_sendpage+0xba/0xf2 [algif_hash]\n   [<c121b24c>] kernel_sendpage+0x39/0x4e\n   [<d88ce000>] ? 0xd88cdfff\n   [<c121b298>] sock_sendpage+0x37/0x3e\n   [<c121b261>] ? kernel_sendpage+0x4e/0x4e\n   [<c10b4dbc>] pipe_to_sendpage+0x56/0x61\n   [<c10b4e1f>] splice_from_pipe_feed+0x58/0xcd\n   [<c10b4d66>] ? splice_from_pipe_begin+0x10/0x10\n   [<c10b51f5>] __splice_from_pipe+0x36/0x55\n   [<c10b4d66>] ? splice_from_pipe_begin+0x10/0x10\n   [<c10b6383>] splice_from_pipe+0x51/0x64\n   [<c10b63c2>] ? default_file_splice_write+0x2c/0x2c\n   [<c10b63d5>] generic_splice_sendpage+0x13/0x15\n   [<c10b4d66>] ? splice_from_pipe_begin+0x10/0x10\n   [<c10b527f>] do_splice_from+0x5d/0x67\n   [<c10b6865>] sys_splice+0x2bf/0x363\n   [<c129373b>] ? sysenter_exit+0xf/0x16\n   [<c104dc1e>] ? trace_hardirqs_on_caller+0x10e/0x13f\n   [<c129370c>] sysenter_do_call+0x12/0x32\n  Code: 83 c4 0c 5b 5e 5f c9 c3 55 b9 04 00 00 00 89 e5 57 8d 7d e4 56 53 8d 5d e4 83 ec 18 89 45 e0 89 55 dc 0f b6 70 0f c1 e6 04 01 d6 <f3> a5 be 0f 00 00 00 4e 89 d8 e8 48 ff ff ff 8b 45 e0 89 da 0f\n  EIP: [<d88c92d4>] gf128mul_4k_lle+0x23/0x60 [gf128mul] SS:ESP 0068:d6b8dda4\n  CR2: 0000000000000670\n  ---[ end trace 4eaa2a86a8e2da24 ]---\n  note: hashatron[1502] exited with preempt_count 1\n  BUG: scheduling while atomic: hashatron/1502/0x10000002\n  INFO: lockdep is turned off.\n  [...]\n\nSigned-off-by: Nick Bowler <nbowler@elliptictech.com>\nCc: stable@kernel.org [2.6.37+]\nSigned-off-by: Herbert Xu <herbert@gondor.apana.org.au>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/7ed47b7d142ec99ad6880bbbec51e9f12b3af74c","sha":"7ed47b7d142ec99ad6880bbbec51e9f12b3af74c"},{"author":{"name":"Steven Whitehouse","email":"9801c4ef11586b619a1c43ac9377eea2aee672dd@redhat.com"},"message":"GFS2: Clean up dir hash table reading\n\nSince there is now only a single caller to gfs2_dir_read_data()\nand it has a number of constant arguments, we can factor\nthose out. Also some tests relating to the inode size were\nbeing done twice.\n\nSigned-off-by: Steven Whitehouse <swhiteho@redhat.com>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/4c28d33803d4aeaff32b4ac502af11a9b2aed8f4","sha":"4c28d33803d4aeaff32b4ac502af11a9b2aed8f4"},{"author":{"name":"Steven Whitehouse","email":"9801c4ef11586b619a1c43ac9377eea2aee672dd@redhat.com"},"message":"GFS2: Split data write & wait in fsync\n\nNow that the data writing is part of fsync proper, we can split\nthe waiting part out and do it later on. This reduces the\nnumber of waits that we do during fsync on average.\n\nThere is also no need to take the i_mutex unless we are flushing\nmetadata to disk, so we can move that to within the metadata\nflushing code.\n\nSigned-off-by: Steven Whitehouse <swhiteho@redhat.com>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/2f0264d592e34cde99efbad7d616b04af138e913","sha":"2f0264d592e34cde99efbad7d616b04af138e913"},{"author":{"name":"Steven Whitehouse","email":"9801c4ef11586b619a1c43ac9377eea2aee672dd@redhat.com"},"message":"GFS2: Fix bug-trap in ail flush code\n\nThe assert was being tested under the wrong lock, a\nlegacy of the original code. Also, if it does trigger,\nthe resulting information was not always a lot of help.\n\nThis moves the patch under the correct lock and also\nprints out more useful information in tacking down the\nsource of the problem.\n\nSigned-off-by: Steven Whitehouse <swhiteho@redhat.com>","url":"https://api.github.com/repos/pmundt/linux-sh/commits/75549186edf1515062fe2fcbfbd92bd99659afba","sha":"75549186edf1515062fe2fcbfbd92bd99659afba"}],"head":"dfd3b596fbbfa48b8e7966ef996d587157554b69","size":1500,"push_id":48725448}