t - net-next plumbings</title>
<meta name='generator' content='cgit v1.2.3-54-g00ecf'/>
<meta name='robots' content='noindex, nofollow'/>
<link rel='stylesheet' type='text/css' href='/cgit.css'/>
<script type='text/javascript' src='/cgit.js'></script>
<link rel='shortcut icon' href='http://distanz.ch/favicon.ico'/>
<link rel='alternate' title='Atom feed' href='https://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/include/uapi/asm-generic/swab.h?h=master' type='application/atom+xml'/>
<link rel='vcs-git' href='git://git.distanz.ch/linux/net-next.git' title='net-next.git Git repository'/>
<link rel='vcs-git' href='http:///git.distanz.ch/cgit.cgi/linux/net-next.git' title='net-next.git Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' 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='f5a0aab84b74de68523599817569c057c7ac1622'/><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=f5a0aab84b74de68523599817569c057c7ac1622'>refs</a><a href='/cgit.cgi/linux/net-next.git/log/include/uapi/asm-generic/swab.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/uapi/asm-generic/swab.h?id=f5a0aab84b74de68523599817569c057c7ac1622'>tree</a><a class='active' href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic/swab.h?id=f5a0aab84b74de68523599817569c057c7ac1622'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/uapi/asm-generic/swab.h?id=f5a0aab84b74de68523599817569c057c7ac1622'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/uapi/asm-generic/swab.h'>
<input type='hidden' name='id' value='f5a0aab84b74de68523599817569c057c7ac1622'/><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=f5a0aab84b74de68523599817569c057c7ac1622'>root</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include?id=f5a0aab84b74de68523599817569c057c7ac1622'>include</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/uapi?id=f5a0aab84b74de68523599817569c057c7ac1622'>uapi</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic?id=f5a0aab84b74de68523599817569c057c7ac1622'>asm-generic</a>/<a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic/swab.h?id=f5a0aab84b74de68523599817569c057c7ac1622'>swab.h</a></div><div class='content'><div class='cgit-panel'><b>diff options</b><form method='get'><input type='hidden' name='id' value='f5a0aab84b74de68523599817569c057c7ac1622'/><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>David Ahern &lt;dsa@cumulusnetworks.com&gt;</td><td class='right'>2016-12-29 15:29:03 -0800</td></tr>
<tr><th>committer</th><td>David S. Miller &lt;davem@davemloft.net&gt;</td><td class='right'>2016-12-29 22:27:23 -0500</td></tr>
<tr><th>commit</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic/swab.h?id=f5a0aab84b74de68523599817569c057c7ac1622'>f5a0aab84b74de68523599817569c057c7ac1622</a> (<a href='/cgit.cgi/linux/net-next.git/patch/include/uapi/asm-generic/swab.h?id=f5a0aab84b74de68523599817569c057c7ac1622'>patch</a>)</td></tr>
<tr><th>tree</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/tree/?id=f5a0aab84b74de68523599817569c057c7ac1622'>321a7119a443d99853b4d3e747db583ad3a39912</a> /<a href='/cgit.cgi/linux/net-next.git/tree/include/uapi/asm-generic/swab.h?id=f5a0aab84b74de68523599817569c057c7ac1622'>include/uapi/asm-generic/swab.h</a></td></tr>
<tr><th>parent</th><td colspan='2' class='oid'><a href='/cgit.cgi/linux/net-next.git/commit/include/uapi/asm-generic/swab.h?id=2344ef3c86a7fe41f97bf66c7936001b6132860b'>2344ef3c86a7fe41f97bf66c7936001b6132860b</a> (<a href='/cgit.cgi/linux/net-next.git/diff/include/uapi/asm-generic/swab.h?id=f5a0aab84b74de68523599817569c057c7ac1622&amp;id2=2344ef3c86a7fe41f97bf66c7936001b6132860b'>diff</a>)</td></tr></table>
<div class='commit-subject'>net: ipv4: dst for local input routes should use l3mdev if relevant</div><div class='commit-msg'>IPv4 output routes already use l3mdev device instead of loopback for dst's
if it is applicable. Change local input routes to do the same.

This fixes icmp responses for unreachable UDP ports which are directed
to the wrong table after commit 9d1a6c4ea43e4 because local_input
routes use the loopback device. Moving from ingress device to loopback
loses the L3 domain causing responses based on the dst to get to lost.

Fixes: 9d1a6c4ea43e4 ("net: icmp_route_lookup should use rt dev to
		       determine L3 domain")
Signed-off-by: David Ahern &lt;dsa@cumulusnetworks.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</div><div class='diffstat-header'><a href='/cgit.cgi/linux/net-next.git/diff/?id=f5a0aab84b74de68523599817569c057c7ac1622'>Diffstat</a> (limited to 'include/uapi/asm-generic/swab.h')</div><table summary='diffstat' class='diffstat'>