net: always dump full packets with skb_dump
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 5 Oct 2020 14:48:38 +0000 (17:48 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Oct 2020 13:14:02 +0000 (06:14 -0700)
commit302af7c6049dc2cbd1e07358c1912f7cce98db36
tree34bd6553f0fb82acce9da0b40bd82752c648becb
parent717f20341686245fdde9000ee09fdab5dc722477
net: always dump full packets with skb_dump

Currently skb_dump has a restriction to only dump full packet for the
first 5 socket buffers, then only headers will be printed. Remove this
arbitrary and confusing restriction, which is only documented vaguely
("up to") in the comments above the prototype.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c