sky2: truncate oversize packets
authorStephen Hemminger <shemminger@osdl.org>
Tue, 7 Mar 2006 19:06:37 +0000 (11:06 -0800)
committerFrancois Romieu <romieu@fr.zoreil.com>
Thu, 9 Mar 2006 22:19:03 +0000 (23:19 +0100)
commit70f1be4812a833ac856818c3149e432ff6a84c2e
tree35bfffeb385e987ba98bcb81a9216291c210c501
parentb19666d92009ad2aa8e12d25f2cab59fb32421eb
sky2: truncate oversize packets

Turn on truncation to prevent getting choked by frames larger than expected.
Without this fix, driver hangs after receiving an oversize packet.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
drivers/net/sky2.c