commit | 445409602c09219767c06497c0dc2285eac244ed | [log] [tgz] |
---|---|---|
author | Arnd Bergmann <arnd@arndb.de> | Thu Nov 26 06:07:08 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 26 15:52:58 2009 -0800 |
tree | 5cfbd6d94f737107f3e6356fca2457ab3a66bb44 | |
parent | 1bda8aa86b89d4c9b668000127ff87172f2daa10 [diff] |
veth: move loopback logic to common location The veth driver contains code to forward an skb from the start_xmit function of one network device into the receive path of another device. Moving that code into a common location lets us reuse the code for direct forwarding of data between macvlan ports, and possibly in other drivers. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Acked-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>