drivers/net/tun.c | 24 +++++++++++++++--------- 1 files changed, 15 insertions(+), 9 deletions(-)
New commits: commit 89ee02335f51878d82ebc54fb246930ba7ed7934 Author: Michael S. Tsirkin <[email protected]> Date: Wed Jul 21 17:32:45 2010 +0300 tun: avoid BUG, dump packet on GSO errors There are still some LRO cards that cause GSO errors in tun, and BUG on this is an unfriendly way to tell the admin to disable LRO. Further, experience shows we might have more GSO bugs lurking. See https://bugzilla.kernel.org/show_bug.cgi?id=16413 as a recent example. dumping a packet will make it easier to figure it out. Replace BUG with warning+dump+drop the packet to make GSO errors in tun less critical and easier to debug. Signed-off-by: Michael S. Tsirkin <[email protected]> Tested-by: Alex Unigovsky <[email protected]> commit fad39ca3f7373ff7d7d94d0c83c08b622a6b7765 Author: Nolan Leake <[email protected]> Date: Tue Jul 27 16:53:43 2010 -0700 tun: keep link (carrier) state up to date Currently, only ethtool can get accurate link state of a tap device. With this patch, IFF_RUNNING and IF_OPER_UP/DOWN are kept up to date as well. Signed-off-by: Nolan Leake <[email protected]> http://suva.vyatta.com/git/?p=linux-vyatta.git;a=commitdiff;h=89ee02335f51878d82ebc54fb246930ba7ed7934 http://suva.vyatta.com/git/?p=linux-vyatta.git;a=commitdiff;h=fad39ca3f7373ff7d7d94d0c83c08b622a6b7765 _______________________________________________ svn mailing list [email protected] http://mailman.vyatta.com/mailman/listinfo/svn
