From: Bjørn Mork Date: Thu, 6 May 2010 03:44:35 +0000 (+0000) Subject: ipv6: udp: make short packet logging consistent with ipv4 X-Git-Tag: v2.6.35-rc1~473^2~249 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6bc0149d8f2300bffa03ea6fea3ca39744277a6;p=pandora-kernel.git ipv6: udp: make short packet logging consistent with ipv4 Adding addresses and ports to the short packet log message, like ipv4/udp.c does it, makes these messages a lot more useful: [ 822.182450] UDPv6: short packet: From [2001:db8:ffb4:3::1]:47839 23715/178 to [2001:db8:ffb4:3:5054:ff:feff:200]:1234 This requires us to drop logging in case pskb_may_pull() fails, which also is consistent with ipv4/udp.c Signed-off-by: Bjørn Mork Acked-by: Eric Dumazet Signed-off-by: David S. Miller --- Reading git-diff-tree failed