be2net: take care of __vlan_put_tag return value
authorIvan Vecera <ivecera@redhat.com>
Fri, 12 Apr 2013 14:49:24 +0000 (16:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Apr 2013 18:55:25 +0000 (14:55 -0400)
commitf11a869d4e38397ac81f2a3d22e8d2aeb3992b0f
tree76b59b54ed8e7fde92829689dfcdcfb135373077
parentd900d12052dc2bbc124226f628314a8cfad2a97d
be2net: take care of __vlan_put_tag return value

The driver should use return value of __vlan_put_tag with appropriate
NULL-check instead of old skb pointer.

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c