#include <linux/in.h> #include <linux/mm.h> #include <linux/module.h> #include <linux/netdevice.h> #include <linux/skbuff.h> #include <linux/slab.h> #include <net/datalink.h> static int pEII_request(struct datalink_proto *dl, struct sk_buff *skb, unsigned char *dest_node) { struct net_device *dev = skb->dev; skb->protocol = htons(ETH_P_IPX); dev_hard_header(skb, dev, ETH_P_IPX, dest_node, NULL, skb->len); return dev_queue_xmit(skb); } struct datalink_proto *make_EII_client(void) { struct datalink_proto *proto = kmalloc(sizeof(*proto), GFP_ATOMIC); if (proto) { proto->header_length = 0; proto->request = pEII_request; } return proto; } void destroy_EII_client(struct datalink_proto *dl) { kfree(dl); } ' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td> <td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'> <input type='hidden' name='id' value='412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'/><select name='h' onchange='this.form.submit();'> <option value='emaclite-cleanup'>emaclite-cleanup</option> <option value='master' selected='selected'>master</option> <option value='nds-private-remove'>nds-private-remove</option> <option value='packet-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/drivers/usb/musb/ux500.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/drivers/usb/musb/ux500.c?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/musb/ux500.c?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/musb/ux500.c?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/drivers/usb/musb/ux500.c'> <input type='hidden' name='id' value='412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/commit/?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/drivers?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'>drivers</a>/<a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'>usb</a>/<a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/musb?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'>musb</a>/<a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/musb/ux500.c?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'>ux500.c</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'/><table><tr><td colspan='2'/></tr><tr><td class='label'>context:</td><td class='ctrl'><select name='context' onchange='this.form.submit();'><option value='1'>1</option><option value='2'>2</option><option value='3' selected='selected'>3</option><option value='4'>4</option><option value='5'>5</option><option value='6'>6</option><option value='7'>7</option><option value='8'>8</option><option value='9'>9</option><option value='10'>10</option><option value='15'>15</option><option value='20'>20</option><option value='25'>25</option><option value='30'>30</option><option value='35'>35</option><option value='40'>40</option></select></td></tr><tr><td class='label'>space:</td><td class='ctrl'><select name='ignorews' onchange='this.form.submit();'><option value='0' selected='selected'>include</option><option value='1'>ignore</option></select></td></tr><tr><td class='label'>mode:</td><td class='ctrl'><select name='dt' onchange='this.form.submit();'><option value='0' selected='selected'>unified</option><option value='1'>ssdiff</option><option value='2'>stat only</option></select></td></tr><tr><td/><td class='ctrl'><noscript><input type='submit' value='reload'/></noscript></td></tr></table></form></div><table summary='commit info' class='commit-info'> <tr><th>author</th><td>Linus Torvalds <torvalds@linux-foundation.org></td><td class='right'>2017-02-04 10:44:15 -0800</td></tr> <tr><th>committer</th><td>Linus Torvalds <torvalds@linux-foundation.org></td><td class='right'>2017-02-04 10:44:15 -0800</td></tr> <tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/musb/ux500.c?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'>412e6d3fec247b2bc83106514b0fb3b17e2eb7fe</a> (<a href='/cgit.cgi/linux/net-next.git/patch/drivers/usb/musb/ux500.c?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'>patch</a>)</td></tr> <tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'>cbd241740a61d7ff60742d6f94d1564e796fb405</a> /<a href='/cgit.cgi/linux/net-next.git/tree/drivers/usb/musb/ux500.c?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'>drivers/usb/musb/ux500.c</a></td></tr> <tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/musb/ux500.c?id=252bf9f4c43fd58f96587a97866cb7cc980e7544'>252bf9f4c43fd58f96587a97866cb7cc980e7544</a> (<a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/musb/ux500.c?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe&id2=252bf9f4c43fd58f96587a97866cb7cc980e7544'>diff</a>)</td></tr><tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/drivers/usb/musb/ux500.c?id=433e19cf33d34bb6751c874a9c00980552fe508c'>433e19cf33d34bb6751c874a9c00980552fe508c</a> (<a href='/cgit.cgi/linux/net-next.git/diff/drivers/usb/musb/ux500.c?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe&id2=433e19cf33d34bb6751c874a9c00980552fe508c'>diff</a>)</td></tr></table> <div class='commit-subject'>Merge tag 'char-misc-4.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc</div><div class='commit-msg'>Pull char/misc driver fixes from Greg KH: "Here are two bugfixes that resolve some reported issues. One in the firmware loader, that should fix the much-reported problem of crashes with it. The other is a hyperv fix for a reported regression. Both have been in linux-next for a week or so with no reported issues" * tag 'char-misc-4.10-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: Drivers: hv: vmbus: finally fix hv_need_to_signal_on_read() firmware: fix NULL pointer dereference in __fw_load_abort() </div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=412e6d3fec247b2bc83106514b0fb3b17e2eb7fe'>Diffstat</a> (limited to 'drivers/usb/musb/ux500.c')</div><table summary='diffstat' class='diffstat'>